Re: [RFC][Resend] Make NFS-Client readahead tunable

Previous thread: Re: [RFC][Resend] Make NFS-Client readahead tunable by Martin Knoblauch on Thursday, September 18, 2008 - 1:19 am. (2 messages)

Next thread: [PATCH 1/5] HID: move pantherlord FF processing by Jiri Slaby on Thursday, September 18, 2008 - 1:57 am. (2 messages)
From: Martin Knoblauch
Date: Thursday, September 18, 2008 - 1:38 am

I believe Peter wanted to add per bdi stuff for nfs some time ago. Not sure what came out of it.

Cheers
Martin
--

From: Andrew Morton
Date: Thursday, September 18, 2008 - 1:47 am

It's been that way for ever and ever.  It's how all these guys:

y:/usr/src/25> grep Opt_ fs/*/super.c|wc
    781    2626   33703

get handled.
--

From: Greg Banks
Date: Thursday, September 18, 2008 - 1:57 am

NFS was...special...for a long time.

-- 
Greg Banks, P.Engineer, SGI Australian Software Group.
Be like the squirrel.
I don't speak for SGI.

--

From: Peter Zijlstra
Date: Thursday, September 18, 2008 - 6:20 am

$ mount localhost:/ /mnt/tmp
$ grep nfs /proc/$$/mountinfo
21 17 0:17 / /var/lib/nfs/rpc_pipefs rw - rpc_pipefs rpc_pipefs rw
31 13 0:20 / /proc/fs/nfsd rw - nfsd nfsd rw
37 17 0:22 / /mnt/tmp rw - nfs localhost:/ rw,vers=3,rsize=65536,wsize=65536,namlen=255,hard,nointr,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=127.0.0.1,mountvers=3,mountproto=tcp,addr=127.0.0.1
$ ls -la /sys/class/bdi/0\:22/
total 0
drwxr-xr-x  3 root root    0 2008-09-18 15:16 .
drwxr-xr-x 21 root root    0 2008-09-18 15:16 ..
-rw-r--r--  1 root root 4096 2008-09-18 15:19 max_ratio
-rw-r--r--  1 root root 4096 2008-09-18 15:19 min_ratio
drwxr-xr-x  2 root root    0 2008-09-18 15:19 power
-rw-r--r--  1 root root 4096 2008-09-18 15:19 read_ahead_kb
lrwxrwxrwx  1 root root    0 2008-09-18 15:19 subsystem -> ../../bdi
-rw-r--r--  1 root root 4096 2008-09-18 15:19 uevent
$ cat /sys/class/bdi/0\:22/read_ahead_kb
960




--

Previous thread: Re: [RFC][Resend] Make NFS-Client readahead tunable by Martin Knoblauch on Thursday, September 18, 2008 - 1:19 am. (2 messages)

Next thread: [PATCH 1/5] HID: move pantherlord FF processing by Jiri Slaby on Thursday, September 18, 2008 - 1:57 am. (2 messages)