Hi Marc, http://seclists.org/lists/linux-kernel/2003/May/4226.html I am working on Linux version 2.4.20-20.7smp and /dev/hda3 /data1 ext3 rw 0 0 I guess this is the reason why its not working for me. I will try upgrading the kernel. Thanks, Tulsi Ram. > 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/