- Notifications
You must be signed in to change notification settings - Fork5
Commitc6a5b66
committed
Further reduce the number of semaphores used under --disable-spinlocks.
Per discussion, there doesn't seem to be much value in havingNUM_SPINLOCK_SEMAPHORES set to 1024: under any scenario where you arerunning more than a few backends concurrently, you really had better have areal spinlock implementation if you want tolerable performance. And 1024semaphores is a sizable fraction of the system-wide SysV semaphore limiton many platforms. Therefore, reduce this setting's default value to 128to make it less likely to cause out-of-semaphores problems.1 parente2c183e commitc6a5b66
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
| 65 | + | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| |||
0 commit comments
Comments
(0)