Skip to contentSkip to conversation

periodic flushing of "cached" data

DISCUSSION Phy Prabab 1 participant 1 message Apr 19, 2004

lore
Share & tools
lore

Phy Prabab

author
#0 lore raw

Thank you for your response. I have given this a try (and other options to get pdflush to wake up and flush more data) with a file system that is currently in use with no difference.

Interestingly enough, I created an application that just allocates memory and ran it to eat up 500M. I the app and it forced the cached data to disk and freed up 500M which then was filled up again by NFS data.

I would like to get similiar behavior as that what I see and know of NetWork Appliance Data OnTAP. Within their configuration they have several note worthy principles:

1: Cached data can not be older than 20 secs without being committed to disk
2: if there is significant data filling the caches and heavy network traffic, it will throttle the network interface and begin moving data to disks. It does this very well and in a very balanced fashion.

Currently, an older generation NetApp Filer F760 is able to out run my linux file server by 30-50% (the F880 is a dual 800MHz PIII, my file server is a quad Xeon 2.0GHz, both machines are FC).

Is there any way to get the Linux kernel to do the same as OnTAP and be on par or better than the F880.

Thank you very much for your time.

Phy Prabab

Quoted 22 lines · --- Andrew Morton
Quoted 4 lines · Phy Prabab

Sirs,

I am interested in understanding how tot tune the

2.6

Quoted 1 line

kernel such that I can get the WM to write out

data

Quoted 3 lines

that is held within the "cache".

My situtation is that I have a NFS file server

that

Quoted 1 line

gets data in bursts. The first couple of burst

move

Quoted 1 line

quickly, but once the system memory becomes

filled,

Quoted 1 line

mostly held in "cache", then my NFS performance

drops.

Quoted 1 line

The issue here is how to get the VM to write out

the

Quoted 1 line

data held within the cache when times are slow

(which

Quoted 8 lines
Quoted 1 line

amounts to 90% of the time)? I have played a

little

Quoted 1 line

bit with the /proc/sys/vm/dirty_ratio, etc with

out

Quoted 1 line

much help.

Setting dirty_background_ratio lower might smooth
things out.

__________________________________
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs