File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
frameworks/CSharp/wiredio Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ public static void Main(string[] args)
1212 {
1313 var builder = UnhingedEngine
1414 . CreateBuilder ( )
15- . SetNWorkersSolver ( ( ) => Environment . ProcessorCount / 2 )
15+ . SetNWorkersSolver ( ( ) => Environment . ProcessorCount )
1616 . SetBacklog ( 16384 )
1717 . SetMaxEventsPerWake ( 512 )
1818 . SetMaxNumberConnectionsPerWorker ( 512 )
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public static void Main(string[] args)
3939 // It's the number of real cpu cores not cpu threads
4040 // This can improve the cache hits on L1/L2 since only one thread
4141 // is running per cpu core.
42- . SetNWorkersSolver ( ( ) => Environment . ProcessorCount / 2 )
42+ . SetNWorkersSolver ( ( ) => Environment . ProcessorCount - 2 )
4343
4444 // Accept up to 16384 connections
4545 . SetBacklog ( 16384 )
You can’t perform that action at this time.
0 commit comments