Re: Patch: add timing of buffer I/O requests
От | Dimitri Fontaine |
---|---|
Тема | Re: Patch: add timing of buffer I/O requests |
Дата | |
Msg-id | m2aa7gue4y.fsf@2ndQuadrant.fr обсуждение исходный текст |
Ответ на | Re: Patch: add timing of buffer I/O requests ("Tomas Vondra" <tv@fuzzy.cz>) |
Ответы |
Re: Patch: add timing of buffer I/O requests
Re: Patch: add timing of buffer I/O requests |
Список | pgsql-hackers |
"Tomas Vondra" <tv@fuzzy.cz> writes: > Another option would be to reimplement the vsyscall, even on platforms > that don't provide it. The principle is actually quite simple - allocate a > shared memory, store there a current time and update it whenever a clock > interrupt happens. This is basically what Greg suggested in one of the > previous posts, where "regularly" means "on every interrupt". Greg was > worried about the precision, but this should be just fine I guess. It's > the precision you get on Linux, anyway ... That sounds good for other interesting things, which entails being able to have timing information attached to the XID sequence. If we go this way, how far are we from having a ticker in PostgreSQL? Regards, -- Dimitri Fontaine http://2ndQuadrant.fr PostgreSQL : Expertise, Formation et Support
В списке pgsql-hackers по дате отправления: