redhat 2.4.18-5 client huge slowdown
Subsystems (2)
Quoted 5 lines · Trond Myklebust
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
" " =3D=3D Rex Dieter <[email protected]> writes:
> Yes, I've also experienced a huge nfs client slowdown (~50k/sec > writes) on 'sync' nfs mounts with the 2.4.18-5 kernel... See me > bugzilla report:
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67199 and =
a
Quoted 8 lines
> similar report as well:
> http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67461> The only way I found to get any sort of respectable performance > out of 2.4.18-5 was to mount 'async'. *ack*
For 2.4.18-5 RedHat appears to have decided to set the default r/wsize to 4k.=20
For me, the r/wsize made no significant difference as long as the 'sync'=20 option was used. Write speeds consistantly stayed ~50k/sec.
-- Rex
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Re: [PATCH] 2.4.19-rc1/2.5.25 provide dummy fsync() routine for directories on NFS mounts
In reply to a message not in the archiveQuoted 1 line · Trond Myklebust
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
" " =3D=3D Matthias Andree <[email protected]> writ=
es:
Quoted 9 lines
> What if the NFS stuff is not mounted with sync or explicitly > mounted async? Will an nfsd still do synchronous writes to > directories?
Of course. It is not possible for the NFS client to switch this behaviour off, since it is part of the server side specifications in the protocol.
The only thing that can screw you up is if you use the 'async' option in/etc/exportson the server.
How is specifying 'async' in /etc/exports on the NFS server different tha= n a=20
NFS client explicitly mounting async?
-- Rex
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 3 lines · Rex Dieter
Quoted 2 lines · Raphael Clifford
I was wondering if everyone else is experiencing huge nfs write slowdowns using redhat kernel 2.4.18-5 (as opposed to 2.4.18-4). I a=
m
Quoted 2 lines
Yes, I've also experienced a huge nfs client slowdown (~50k/sec writes)=
on
Quoted 2 lines
'sync' nfs mounts with the 2.4.18-5 kernel... See me bugzilla report:
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=3D67199
=2E..
Here's some interesting data (on switched fast ethernet) to chew on (usin= g=20
Redhat's 2.4.18-5 kernel on both server and client):
Server(1) Client(2) Speed=20 async async ~8.5MB/sec=20 async sync ~6.5MB/sec=20 sync async ~350K/sec=20 sync sync ~50k/sec=20
=20
(1) using the 'async/sync' option in /etc/exports
(2) using the 'async/sync' option when mounting, ie, mount -t nfs -o sync=
...
Is this really the kind of performance I should expect to get? (I hope no=
t)
-- Rex
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Re: [PATCH] 2.4.19-rc1/2.5.25 provide dummy fsync() routine for directories on NFS mounts
In reply to Rex DieterQuoted 14 lines · Rex Dieter
Quoted 10 lines · Trond Myklebust
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
" " == Matthias Andree <[email protected]> writes:
> What if the NFS stuff is not mounted with sync or explicitly > mounted async? Will an nfsd still do synchronous writes to > directories?
Of course. It is not possible for the NFS client to switch this behaviour off, since it is part of the server side specifications in the protocol.
The only thing that can screw you up is if you use the 'async' option in/etc/exportson the server.
Quoted 4 lines
How is specifying 'async' in
/etc/exportson the NFS server different than a NFS client explicitly mounting async?-- Rex
The /etc/exports async option allows the server to tell the client that it has indeed written data/metadata to the disk, regardless of what has actually happened.
So, the client sync/async affects *when* the client writes to the server, and the server sync/async affects *how* (OK, and *when*) the server replies to the client.
Regards -
Tom
--
------------------------------------------------------------
Tom McNeal [email protected] (650)906-0761 (cell)
------------------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
PC Mods, Computing goodies, cases & more
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
" " == Rex Dieter <[email protected]> writes:
> Here's some interesting data (on switched fast ethernet) to > chew on (using Redhat's 2.4.18-5 kernel on both server and > client): Server(1) Client(2) Speed async async ~8.5MB/sec async > sync ~6.5MB/sec sync async ~350K/sec sync sync ~50k/sec
If you switch off write caching using the '-o sync' mount option then of course you will see a dramatic slowdown. Where's the beef?
Cheers,
Trond
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Gadgets, caffeine, t-shirts, fun stuff.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs