- Notifications
You must be signed in to change notification settings - Fork5
Commit75c24d0
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 parent8ce8307 commit75c24d0
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
57 | 57 |
| |
58 | 58 |
| |
59 | 59 |
| |
60 |
| - | |
| 60 | + | |
61 | 61 |
| |
62 | 62 |
| |
63 | 63 |
| |
|
0 commit comments
Comments
(0)