Marc, I used this option while opening, for all the files that I read and write. Still the cache grows upto 600Megs when I run my application. I could not get where do I need to use memalign. Can you please be more specific on where should I use it? thanks, Tulsi Ram. > On Thursday 06 May 2004 19:24, Tulsi Ram Mayala wrote: > > Hi Tulsi, > >> I tried using O_DIRECT, but made no difference. Searching gave me this >> link: http://kerneltrap.org/node/view/2703 >> Does it really work? > > it does work :) ... If it did not I am 100% sure, thousands of people had > screamed very loud ;) > > Did you opened it page aligned? > > man 3 memalign > > ciao, Marc > -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/