Revision: 12992
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=12992&view=rev
Author:   hofman
Date:     2008-03-07 04:31:08 -0800 (Fri, 07 Mar 2008)

Log Message:
-----------
Increase number of concurrent operations to Adam's setting. The slowdown I 
experienced was because of APE.

Modified Paths:
--------------
    trunk/bibdesk_vendorsrc/amaxwell/FileView/FVConcreteOperationQueue.m

Modified: trunk/bibdesk_vendorsrc/amaxwell/FileView/FVConcreteOperationQueue.m
===================================================================
--- trunk/bibdesk_vendorsrc/amaxwell/FileView/FVConcreteOperationQueue.m        
2008-03-07 01:09:54 UTC (rev 12991)
+++ trunk/bibdesk_vendorsrc/amaxwell/FileView/FVConcreteOperationQueue.m        
2008-03-07 12:31:08 UTC (rev 12992)
@@ -81,7 +81,7 @@
 // Allow a maximum of 10 operations per active CPU core and a minimum of 2 per 
core; untuned.  Main idea here is to keep from killing performance by creating 
too many threads or operations, but memory/disk are also big factors that are 
unaccounted for here.
 + (NSUInteger)_availableOperationCount
 {
-    int32_t maxConcurrentOperations = _activeCPUs * 4;
+    int32_t maxConcurrentOperations = _activeCPUs * 10;
     int32_t minConcurrentOperations = 2;    
     return MAX((maxConcurrentOperations - ((_activeQueueCount - 1) * 
minConcurrentOperations)), minConcurrentOperations);
 }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to