Anonymous_User Absent Member.
Absent Member.
2714 views

NFS on OES Linux and SLES 9 very SLOW

I was trying to setup an NFS server on an OES Linux SP1 box, and a SLES
9 SP2 box. Using rw,no_root_squash,sync options on server and client
when I mount the shares I get transfer rates of ~60 KB/s, but if I mount
a RHEL 4 server with same options, I get transfer rate of ~2 MB/s. This
is a huge difference. What am I doing wrong here? Any decent size file
is incredibly slow going to my SUSE boxes, but to the RHEL box they are
very fast. I'm goning to be moving several gigs to this NFS share and
I'm affaid that it'll take way too long at the ~60 KB/s speed. Any
ideas what could be causing this? Thanks.

Stewart@UGA
Labels (2)
0 Likes
3 Replies
Anonymous_User Absent Member.
Absent Member.

Re: NFS on OES Linux and SLES 9 very SLOW

Stewart Harrison wrote:
> I was trying to setup an NFS server on an OES Linux SP1 box, and a SLES
> 9 SP2 box. Using rw,no_root_squash,sync options on server and client
> when I mount the shares I get transfer rates of ~60 KB/s, but if I mount
> a RHEL 4 server with same options, I get transfer rate of ~2 MB/s. This
> is a huge difference. What am I doing wrong here? Any decent size file
> is incredibly slow going to my SUSE boxes, but to the RHEL box they are
> very fast. I'm goning to be moving several gigs to this NFS share and
> I'm affaid that it'll take way too long at the ~60 KB/s speed. Any
> ideas what could be causing this? Thanks.
>
> Stewart@UGA


Not directly linux/NFS related but have you checked for duplex errors in
your network connection? Particularly with Gigabit ethernet, but I have
seen it with 100BaseTX as well. Can cause serious performance problems.

--
Geoff Roberts
IT Support
Saint Mark's College
Port Pirie, South Australia
geoffrobx@stmarksx.ppx.catholicx.edux.aux
Remove all x's from email address....
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NFS on OES Linux and SLES 9 very SLOW

ifconfig doesn't show any errors or collisions. /var/log/messages shows
that it is running at 100mb full duplex, which is in agreement with what
the port on the switch is set for, and all other machines that plug into
that port gets set to. Ethereal doesn't show any weird packets when I
do a capture, so I don't think it's something with the network hardware.
Everything else on this machine flies. sftp is as fast as on every
other machine, pulling something down with a web browser from within X
is fast, just NFS is very slow.

Stewart@UGA

Geoff Roberts wrote:
> Stewart Harrison wrote:
>
>> I was trying to setup an NFS server on an OES Linux SP1 box, and a SLES
>> 9 SP2 box. Using rw,no_root_squash,sync options on server and client
>> when I mount the shares I get transfer rates of ~60 KB/s, but if I mount
>> a RHEL 4 server with same options, I get transfer rate of ~2 MB/s. This
>> is a huge difference. What am I doing wrong here? Any decent size file
>> is incredibly slow going to my SUSE boxes, but to the RHEL box they are
>> very fast. I'm goning to be moving several gigs to this NFS share and
>> I'm affaid that it'll take way too long at the ~60 KB/s speed. Any
>> ideas what could be causing this? Thanks.
>>
>> Stewart@UGA

>
>
> Not directly linux/NFS related but have you checked for duplex errors in
> your network connection? Particularly with Gigabit ethernet, but I have
> seen it with 100BaseTX as well. Can cause serious performance problems.
>

0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: NFS on OES Linux and SLES 9 very SLOW

Hey Stewart,

You might want to take a look at the doc below for performance tuning
your file systems and/or possibly try changeing the IO scheduler
in /boot/grub/menu.lst
from
elevator=cfq
change to
elevator=noop

or one of the other IO schedulers in the below doc...

http://www.novell.com/brainshare/europe/05_presentations/tut303.pdf


-scz

> ifconfig doesn't show any errors or collisions. /var/log/messages shows
> that it is running at 100mb full duplex, which is in agreement with what
> the port on the switch is set for, and all other machines that plug into
> that port gets set to. Ethereal doesn't show any weird packets when I
> do a capture, so I don't think it's something with the network hardware.
> Everything else on this machine flies. sftp is as fast as on every
> other machine, pulling something down with a web browser from within X
> is fast, just NFS is very slow.
>
> Stewart@UGA
>
> Geoff Roberts wrote:
> > Stewart Harrison wrote:
> >
> >> I was trying to setup an NFS server on an OES Linux SP1 box, and a

SLES
> >> 9 SP2 box. Using rw,no_root_squash,sync options on server and client
> >> when I mount the shares I get transfer rates of ~60 KB/s, but if I

mount
> >> a RHEL 4 server with same options, I get transfer rate of ~2 MB/s.

This
> >> is a huge difference. What am I doing wrong here? Any decent size

file
> >> is incredibly slow going to my SUSE boxes, but to the RHEL box they

are
> >> very fast. I'm goning to be moving several gigs to this NFS share

and
> >> I'm affaid that it'll take way too long at the ~60 KB/s speed. Any
> >> ideas what could be causing this? Thanks.
> >>
> >> Stewart@UGA

> >
> >
> > Not directly linux/NFS related but have you checked for duplex errors

in
> > your network connection? Particularly with Gigabit ethernet, but I

have
> > seen it with 100BaseTX as well. Can cause serious performance

problems.
> >


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.