is there a user mode way to flush disk cache
From: Eric Taylor (et2_at_rocketship1.com)
Date: 10/20/05
- Next message: zcsizmadia_at_gmail.com: "x86_64 toolchain for i586 host"
- Previous message: Allen McIntosh: "Re: RedHat: VFS: Cannot open root device"
- Next in thread: John Reiser: "Re: is there a user mode way to flush disk cache"
- Reply: John Reiser: "Re: is there a user mode way to flush disk cache"
- Reply: Chris Friesen: "Re: is there a user mode way to flush disk cache"
- Reply: Kasper Dupont: "Re: is there a user mode way to flush disk cache"
- Reply: Joe Pfeiffer: "Re: is there a user mode way to flush disk cache"
- Reply: John Fusco: "Re: is there a user mode way to flush disk cache"
- Reply: tom: "Re: is there a user mode way to flush disk cache"
- Reply: John Reiser: "Re: is there a user mode way to flush disk cache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 19 Oct 2005 20:03:38 -0700
I'm using 2.6 from rhel4 and I need to write 2 gig files quickly.
I don't care if the 2 gigs is all in the cache and nothing has
written to disk yet. I've got plenty of memory.
I need the 2 gig writes to "complete" in less than 30 seconds.
Sometimes when it gets stuck, it can take over 5 mintues and
the disk led is on solid. This seems slow to me.
I find that I can get the writes to complete the fastest if the
disk cache is nearly empty before I start. Otherwise, even
though one would think there was plenty of room left, something
hangs my program while doing writes.
My klutzy way to flush the caches is to write 8 two-gig files in
sucessesion and them rm them all.
There's gotta be a better way than this.
thanks
eric
- Next message: zcsizmadia_at_gmail.com: "x86_64 toolchain for i586 host"
- Previous message: Allen McIntosh: "Re: RedHat: VFS: Cannot open root device"
- Next in thread: John Reiser: "Re: is there a user mode way to flush disk cache"
- Reply: John Reiser: "Re: is there a user mode way to flush disk cache"
- Reply: Chris Friesen: "Re: is there a user mode way to flush disk cache"
- Reply: Kasper Dupont: "Re: is there a user mode way to flush disk cache"
- Reply: Joe Pfeiffer: "Re: is there a user mode way to flush disk cache"
- Reply: John Fusco: "Re: is there a user mode way to flush disk cache"
- Reply: tom: "Re: is there a user mode way to flush disk cache"
- Reply: John Reiser: "Re: is there a user mode way to flush disk cache"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|