mirror of
				https://github.com/Zygo/bees.git
				synced 2025-11-03 19:50:34 +01:00 
			
		
		
		
	scan_one_extent: remove the unreadahead after benchmark results
That unreadahead used to result in a 10% hit on benchmarks. Now it's closer to 75%. Signed-off-by: Zygo Blaxell <bees@furryterror.org>
This commit is contained in:
		@@ -839,8 +839,8 @@ BeesContext::scan_one_extent(const BeesFileRange &bfr, const Extent &e)
 | 
			
		||||
	}
 | 
			
		||||
	lock_seen.unlock();
 | 
			
		||||
 | 
			
		||||
	// Still hurts benchmarks...or does it?
 | 
			
		||||
	bees_unreadahead(bfr.fd(), bfr.begin(), bfr.size());
 | 
			
		||||
	// Now causes 75% loss of performance in benchmarks
 | 
			
		||||
	// bees_unreadahead(bfr.fd(), bfr.begin(), bfr.size());
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
shared_ptr<Exclusion>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user