Skip to contentSkip to conversation

NFS speed problem when appending data to existing files

DISCUSSION Bernd Schubert 2 participants 2 messages Oct 8, 2003 – Oct 9, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines

on the client side (2.4.22, server is a 2.4.21 kernel based nfsd). Only appending small amounts of data to an existing file shows the problem. Writing a large file happens at FastEthernet speed flawlessly. Any help, please?

Hello Torsten,

2.4.22 has a client-side nfs-bug causing this. I'm not sure if this is already fixed in 2.4.23-pre6, so I suggest you downgrade to 2.4.21.

Cheers,
Bernd

#1 lore raw

Hello Bernd,

Quoted 2 lines · Bernd Schubert

2.4.22 has a client-side nfs-bug causing this. I'm not sure if this is already fixed in 2.4.23-pre6, so I suggest you downgrade to 2.4.21.

Thanks, that does avoid the error messages in the kernel log but it does not solve the problem. You can download a strace log from
http://twerner.debian.net/strace.out.bz2 . You will see a programm that repeatedly opens a file in append mode, writes some data and closes the file. Sometimes the close need overs half a second which is far to much. (Please just 'grep close strace.out' to see it clearly.)

It did work with some older kernel that I have already deinstalled. :-(

Regards,
Torsten

Signature · 3 lines
Torsten Werner                         Dresden University of Technology
[email protected]                   +49 351 46336711 / +49 162 3123004
http://www.twerner42.de/                      telefax: +49 351 46336809