On 12/21/06, Erik Mouw <mouw@xxxxxxxxxxxx> wrote:
Bursty video traffic is really an application that could take advantage from the kernel buffering. Unless you want to reinvent the wheel and do the buffering yourself (it is possible though, I've done it on IRIX).
But in my test O_DIRECT gave a slight better performance. Also the CPU usage decreased.
BTW, why are you so keen on smooth-at-the-microlevel writeout? With real time video applications it's only important not to drop frames. How fast those frames will go to the disk isn't really an issue, as long as you don't overflow the intermediate buffer.
Actually i dont require smooth-at-the-microlevel writeout but the timing bumps are overflowing the intermediate buffers . I was just wondering if i could decrease the 20ms bumps to 3 ms as in other writes.
Erik -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Matthew Lammers in alt.sysadmin.recovery
-- --------------------------------------------------------------- regards Manish Regmi --------------------------------------------------------------- UNIX without a C Compiler is like eating Spaghetti with your mouth sewn shut. It just doesn't make sense. -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/