amd64: bump sleepq hash size to 2048
This is the most contended lock type during the first hour of -j 104 poudriere. Drops significantly with the change. Note there are suspicous acquires which most likely don't need to happen, artificially exacerbating tehe problem..
This commit is contained in:
@@ -150,6 +150,15 @@
|
||||
(((va) >= kva_layout.dmap_low && (va) < kva_layout.dmap_high) || \
|
||||
((va) >= kva_layout.km_low && (va) < kva_layout.km_high))
|
||||
|
||||
#define SC_TABLESIZE 1024 /* Must be power of 2. */
|
||||
/*
|
||||
* Must be power of 2.
|
||||
*
|
||||
* Perhaps should be autosized on boot based on found ncpus.
|
||||
*/
|
||||
#if MAXCPU > 256
|
||||
#define SC_TABLESIZE 2048
|
||||
#else
|
||||
#define SC_TABLESIZE 1024
|
||||
#endif
|
||||
|
||||
#endif /* !_AMD64_INCLUDE_PARAM_H_ */
|
||||
|
||||
Reference in New Issue
Block a user