Skip to contentSkip to conversation

Linux client network performance

DISCUSSION s o f i a 1 participant 1 message Jun 25, 2003

Subsystems (2)
lore
Share & tools
lore

s o f i a

author
#0 lore raw

Hello,

(pls cc me, a colleague just forwarded
this to me...)

I have seen this at a customer site.
And thank you so much for the clarification.

Can you please let me know:
- are there any identified workarounds?
- are there any papers or writeups on
various other symptoms of this issue?

At one site, the customer environment mentioned
about having issues with Linux clients; they
had to change NFS block size to 8k....

Wondering if one can comment about this one case, I noticed even with the Linux client side mounted at 8k, at a certain point in time, with a certain application that is write intensive, to a Solaris NFS server, the client had to do
(2) writes, before the NFS server replied ... (in looking at the snoop) ... i am not sure, but i think the application had the capability to write in even less the 8k blocksize, and it seems like this eliminated the problem of NFS-writes from the linux client...

any thoughts on this issue?

thanks in advance,

sofia.

Quoted 11 lines

Sent: Wednesday, June 25, 2003 10:40 AM
To: Brasseur Valéry
Cc: [email protected]; Matthias Kittner
Subject: RE: [NFS] Linux client network performance

hi valery-

Quoted 1 line

what's the "IP fragmentation bug" ?

the Linux IP layer sends packet fragments on the

wire

Quoted 1 line

as it fragments each datagram. it can run out of

socket

Quoted 1 line

buffer space in the middle of fragmenting a

datagram.

Quoted 4 lines

the bug is that if it runs out of buffer space, it stops fragmenting and drops the packet.

this leaves the receiving end with a bunch of

fragments

Quoted 1 line

it can't assemble into a whole datagram. this

becomes

Quoted 1 line

a problem when the sending end is perpetually

running

Quoted 3 lines

out of socket space. this fills the receiving end's reassembly queue with fragments that can't be used, preventing all UDP traffic from getting to the

server.

Quoted 2 lines

the fix is to have it continue fragmenting this

datagram

Quoted 11 lines

even though the socket buffer is "full."

Quoted 1 line

what are the symptoms of this bug ?

you're using NFS/UDP with largish r/wsize. your network features links of different speed (100Mb mixed with GbE) between client and server, or is routed rather than only switched.

you see lots of IP fragments on your network from one or two NFS clients. you have periods of very

slow

Quoted 1 line

server and network performance, followed by periods

of

Quoted 4 lines

normal performance.

Quoted 2 lines
Quoted 2 lines

-----Original Message-----
From: Lever, Charles

[mailto:[email protected]]

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Sent: Wednesday, June 25, 2003 4:30 PM
To: Matthias Kittner
Cc: [email protected]
Subject: RE: [NFS] Linux client network

performance

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

hi matthias-

it sounds like you've hit the IP fragmentation

bug.

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

you should use NFS/TCP (the "tcp" mount option).

probably it's your 2.4.19-based client that is
causing this problem.

Quoted 2 lines

-----Original Message-----
From: Matthias Kittner

[mailto:[email protected]]

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Sent: Wednesday, June 25, 2003 4:57 AM
To: [email protected]
Subject: [NFS] Linux client network

performance

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

[I am not a subscriber, please CC to my

eMail!]

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

Hello,

we have the following problem:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

- 2 linux clients:

	2.4.19-16mdk
	2.4.20
- Solaris NFS-Server (nfs.server 1.21)
	SunOS 5.7

If we compile on one of the linux machines

sometimes in

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

this compile

Quoted 1 line

process the whole network hangs resp. is so

slow that one

Quoted 4 lines
Quoted 4 lines

can wait

Quoted 3 lines
Quoted 3 lines

between 10s or 2min to finish a "ls".

"snoop" at the nfs-server machine show

very/very much "UDP

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

continuation"
traffic between the linux client and the

solaris server.

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

Killing the

Quoted 3 lines

compile process stops this messages.

Can anyone help us? Is this a configuration

problem or a bug?

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Regards,
Matthias

-------------------------------------------------------

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become

An INetU

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

Hosting Partner.
Refer Dedicated Servers. We Manage Them. You

Get 10% Monthly

Quoted 10 lines
Quoted 10 lines
Quoted 2 lines
Quoted 2 lines

Commission!
INetU Dedicated Managed Hosting

http://www.inetu.net/partner/index.php

Quoted 4 lines

_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

-------------------------------------------------------

Quoted 2 lines
Quoted 2 lines

This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An

INetU

Quoted 2 lines
Quoted 2 lines

Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get

10% Monthly

Quoted 3 lines
Quoted 2 lines

Commission!
INetU Dedicated Managed Hosting

http://www.inetu.net/partner/index.php

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs