| От | Neil Conway |
|---|---|
| Тема | Re: LWLock cache line alignment |
| Дата | |
| Msg-id | 42023868.9030601@samurai.com обсуждение исходный текст |
| Ответ на | LWLock cache line alignment ("Simon Riggs" <simon@2ndquadrant.com>) |
| Список | pgsql-hackers |
Simon Riggs wrote: > ...and BTW, what is MMCacheLock?? is that an attempt at padding already? One would hope not, as it would be a totally braindead attempt :) It appears to have been formerly used by smgr/mm.c; when that was removed, the MMCacheLock should have been removed but was not. Barring any objections, I'll remove it from HEAD tomorrow. > It looks like padding out LWLock struct would ensure that each of those > were in separate cache lines? Sounds like it might be worth trying; since it would be trivial to implement for testing purposes, I'd be curious to see if this improves performance, and/or has any effect on the CS storm issue. -Neil
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера