* RE: Performance problem
@ 2002-05-15 8:46 ` Nicolas Brainez
2002-05-15 17:42 ` Greg Lindahl
0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Brainez @ 2002-05-15 8:46 UTC (permalink / raw)
To: nfs
OK, thanks for all your response!
I've tried the following:
- Change the NIC (old was rtl8139, new is AMD pcnet32): no changes
- Mount nfs in local: no problem
- Pinging server with 8192 bytes: high packet loss ! (between 30 & 90%)
It's maybe no more an nfs problem but, in my LAN the mtu are @ 1500 on
every machine, and there's no router between server and workstations,
some tips will be appreciated :-).
--
Nicolas Brainez
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance problem
2002-05-15 8:46 ` Performance problem Nicolas Brainez
@ 2002-05-15 17:42 ` Greg Lindahl
0 siblings, 0 replies; 10+ messages in thread
From: Greg Lindahl @ 2002-05-15 17:42 UTC (permalink / raw)
To: nfs
On Wed, May 15, 2002 at 10:46:20AM +0200, Nicolas Brainez wrote:
> - Change the NIC (old was rtl8139, new is AMD pcnet32): no changes
The rtl8139 is a terrible NIC. It doesn't seem to work under high load
under any OS.
> - Pinging server with 8192 bytes: high packet loss ! (between 30 & 90%)
Well, there's your problem. As you could imagine, NFS with 8k packets
won't work so well, but you won't notice for telnet.
You have 2 choices to cover up the problem:
1) Use NFS over TCP.
2) Use NFS with UDP and 1k packets.
As for what the underlying problem is, I don't really know. I would
follow up by using "netperf" or another TCP-related test to see if the
TCP bandwidth is acceptable. If it is, then you can not fix it...
greg
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Performance problem
@ 2002-05-13 15:10 Nicolas Brainez
2002-05-13 15:17 ` Trond Myklebust
2002-05-13 16:35 ` David B. Ritch
0 siblings, 2 replies; 10+ messages in thread
From: Nicolas Brainez @ 2002-05-13 15:10 UTC (permalink / raw)
To: nfs
Hello,
I have an nfs server who exports some backup directories for the lan's
users, it's a new install.
First I would like say that's not an hardware problem, because we have
no problem to use appletalk, ftp, ...
I can mount remotly a partition on the nfs server without problem but
when I copy something on it, the client ('cp' in this case) hangs, and I
receive these messages on my console :
nfs: task XXX can't get a request slot
where XXX is begin from 1 to...
When I look on the server, the file I was trying to copy is only 8192
bytes :
-rwxr-xr-x 1 root root 8192 May 13 16:56 bash
After looking web, newsgroup, etc.. I've tried all what I can do to
optimize performance (wsize=8192,rsize=8192,hard/soft, etc.. etc..)
The only changes is when I use wsize and rsize to 8192, the file I sent
to the server can goes to 16384 bytes, but never more..
This is a LAN of ~ 10 computers, 100mbps, and we use switchs.
The servers and workstation use Debian woody, nfs kernel and user server
tried, same results.
Any type of help is welcome.
Thanks.
--
Nicolas Brainez
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Performance problem
2002-05-13 15:10 Nicolas Brainez
@ 2002-05-13 15:17 ` Trond Myklebust
2002-05-13 15:34 ` Nicolas Brainez
2002-05-13 16:35 ` David B. Ritch
1 sibling, 1 reply; 10+ messages in thread
From: Trond Myklebust @ 2002-05-13 15:17 UTC (permalink / raw)
To: Nicolas Brainez; +Cc: nfs
>>>>> " " == Nicolas Brainez <nb@many.be> writes:
> Hello, I have an nfs server who exports some backup directories
> for the lan's users, it's a new install.
> First I would like say that's not an hardware problem, because
> we have no problem to use appletalk, ftp, ...
I'll bet you it is. Have you tried using a different network card + driver?
Cheers,
Trond
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Performance problem
2002-05-13 15:17 ` Trond Myklebust
@ 2002-05-13 15:34 ` Nicolas Brainez
2002-05-14 6:41 ` Trond Myklebust
0 siblings, 1 reply; 10+ messages in thread
From: Nicolas Brainez @ 2002-05-13 15:34 UTC (permalink / raw)
To: Trond Myklebust; +Cc: nfs
On Mon, 2002-05-13 at 17:17, Trond Myklebust wrote:
> >>>>> " " == Nicolas Brainez <nb@many.be> writes:
>
> > Hello, I have an nfs server who exports some backup directories
> > for the lan's users, it's a new install.
>
> > First I would like say that's not an hardware problem, because
> > we have no problem to use appletalk, ftp, ...
>
> I'll bet you it is. Have you tried using a different network card + driver?
Nope, I've not another network card, and i've absolutely no problem with
others protocols like appletalk and ftp, I can't believe it's an
hardware problem in these conditions.
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance problem
2002-05-13 15:34 ` Nicolas Brainez
@ 2002-05-14 6:41 ` Trond Myklebust
0 siblings, 0 replies; 10+ messages in thread
From: Trond Myklebust @ 2002-05-14 6:41 UTC (permalink / raw)
To: Nicolas Brainez; +Cc: nfs
M=E5ndag 13. mai 2002 17:34 skreiv Nicolas Brainez:
> Nope, I've not another network card, and i've absolutely no problem wit=
h
> others protocols like appletalk and ftp, I can't believe it's an
> hardware problem in these conditions.
That is completely irrelevant. You are comparing apples and pears: TCP ca=
n be=20
made to run reliably over pigeons. NFS uses UDP, and usually presses the=20
cards and drivers to the limit.
Cheers,
Trond
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Performance problem
2002-05-13 15:10 Nicolas Brainez
2002-05-13 15:17 ` Trond Myklebust
@ 2002-05-13 16:35 ` David B. Ritch
2002-05-13 16:48 ` Greg Lindahl
1 sibling, 1 reply; 10+ messages in thread
From: David B. Ritch @ 2002-05-13 16:35 UTC (permalink / raw)
To: Nicolas Brainez; +Cc: nfs
Make sure that your server and clients agree on the MTU of the network.
I don't recall having seen the request slot message associated with that
sort of problem, but an MTU problem can cause messages to be dropped.
Can you nfs-mount a partition exported from the server on the server
itself? If so, can you copy on the nfs-mounted partition? (Trying to
isolate the issue from the network)
David Ritch
On Mon, 2002-05-13 at 11:10, Nicolas Brainez wrote:
> Hello,
>
> I have an nfs server who exports some backup directories for the lan's
> users, it's a new install.
>
> First I would like say that's not an hardware problem, because we have
> no problem to use appletalk, ftp, ...
>
> I can mount remotly a partition on the nfs server without problem but
> when I copy something on it, the client ('cp' in this case) hangs, and I
> receive these messages on my console :
>
> nfs: task XXX can't get a request slot
>
> where XXX is begin from 1 to...
>
> When I look on the server, the file I was trying to copy is only 8192
> bytes :
>
> -rwxr-xr-x 1 root root 8192 May 13 16:56 bash
>
> After looking web, newsgroup, etc.. I've tried all what I can do to
> optimize performance (wsize=8192,rsize=8192,hard/soft, etc.. etc..)
>
> The only changes is when I use wsize and rsize to 8192, the file I sent
> to the server can goes to 16384 bytes, but never more..
>
> This is a LAN of ~ 10 computers, 100mbps, and we use switchs.
> The servers and workstation use Debian woody, nfs kernel and user server
> tried, same results.
>
> Any type of help is welcome.
>
> Thanks.
>
> --
> Nicolas Brainez
>
>
> _______________________________________________________________
>
> Have big pipes? SourceForge.net is looking for download mirrors. We supply
> the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
> _______________________________________________
> NFS maillist - NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Performance problem
2002-05-13 16:35 ` David B. Ritch
@ 2002-05-13 16:48 ` Greg Lindahl
0 siblings, 0 replies; 10+ messages in thread
From: Greg Lindahl @ 2002-05-13 16:48 UTC (permalink / raw)
To: nfs
On Mon, May 13, 2002 at 12:35:24PM -0400, David B. Ritch wrote:
> Make sure that your server and clients agree on the MTU of the network.
> I don't recall having seen the request slot message associated with that
> sort of problem, but an MTU problem can cause messages to be dropped.
Anything that causes packets to get discarded can cause the request
slot message. The MTU thing can be tested by pinging with 8192 byte
packets, which is also a good way to figure out if your network has
enough lossage to cause big UDP packets to be unlikely to arrive,
while short ones work fine. And other things that go bump in the
night.
greg
_______________________________________________________________
Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
^ permalink raw reply [flat|nested] 10+ messages in thread
* Performance problem
@ 2002-04-22 13:33 Gregor Pavlin
2002-04-22 14:23 ` Joseph Bueno
0 siblings, 1 reply; 10+ messages in thread
From: Gregor Pavlin @ 2002-04-22 13:33 UTC (permalink / raw)
To: linux-admin
Hi,
I'm trying to configure a small, embedded Linux system (Pentium III
1000MHz), that supports Java+X-Windows. In any case, the Java application
runs very slowly. Even worse, the same application runs on a Linux-system
with a (Pentium III 450MHz)twice as fast.
Initially I thought that it was the X-server configuration problem but now I
guess that it has to do with scheduling. Namely, when I checked the
processes with "top" on both systems and got interesting results:
System with (Pentium III 1000MHz):
Java stuff was assigned less than 30% of the CPU
X windows used more than 60% of the CPU resources.
System with (Pentium III 450MHz):
Java more than 80% of the CPU
X windows few % of the CPU resources.
In order to influence the CPU sharing on the slow computer (Pentium III
1000MHz) I tryed "nice --20 /$PATH/java-application". However, this doesn't
result in a significant improvement in performance.
Therefore I have the following questions:
1.) Can this be a scheduler's problem?
2.) If so, are there any other ways I can influence the scheduler, e.g. the
policy without recompiling the Kernel?
3.) I'm using a read-only mounted file systems with about 10 MB RAM-disk and
no Swapping. Could these features be a problem in the context of threads and
X-Windows?
Thank you in advance.
Regards,
Gregor
----------------------------
Gregor Pavlin
email: g.pavlin@gmx.at
Tel.:++43 316 244233
++43 316 289402
Fax.:++43 316 244243
Kalsdorferstr. 41,
A-8073, Feldkirchen bei Graz
Austria
^ permalink raw reply [flat|nested] 10+ messages in thread* Re: Performance problem
2002-04-22 13:33 Gregor Pavlin
@ 2002-04-22 14:23 ` Joseph Bueno
0 siblings, 0 replies; 10+ messages in thread
From: Joseph Bueno @ 2002-04-22 14:23 UTC (permalink / raw)
To: g.pavlin; +Cc: linux-admin
Gregor Pavlin a écrit :
>
> Hi,
>
> I'm trying to configure a small, embedded Linux system (Pentium III
> 1000MHz), that supports Java+X-Windows. In any case, the Java application
> runs very slowly. Even worse, the same application runs on a Linux-system
> with a (Pentium III 450MHz)twice as fast.
>
> Initially I thought that it was the X-server configuration problem but now I
> guess that it has to do with scheduling. Namely, when I checked the
> processes with "top" on both systems and got interesting results:
>
> System with (Pentium III 1000MHz):
>
> Java stuff was assigned less than 30% of the CPU
> X windows used more than 60% of the CPU resources.
>
> System with (Pentium III 450MHz):
>
> Java more than 80% of the CPU
> X windows few % of the CPU resources.
>
> In order to influence the CPU sharing on the slow computer (Pentium III
> 1000MHz) I tryed "nice --20 /$PATH/java-application". However, this doesn't
> result in a significant improvement in performance.
>
> Therefore I have the following questions:
>
> 1.) Can this be a scheduler's problem?
>
> 2.) If so, are there any other ways I can influence the scheduler, e.g. the
> policy without recompiling the Kernel?
>
> 3.) I'm using a read-only mounted file systems with about 10 MB RAM-disk and
> no Swapping. Could these features be a problem in the context of threads and
> X-Windows?
>
> Thank you in advance.
>
> Regards,
> Gregor
>
> ----------------------------
>
> Gregor Pavlin
>
> email: g.pavlin@gmx.at
> Tel.:++43 316 244233
> ++43 316 289402
> Fax.:++43 316 244243
>
> Kalsdorferstr. 41,
> A-8073, Feldkirchen bei Graz
> Austria
>
Hi,
What makes you think that this is NOT an Xserver problem ?
What you describe would be normal if your P450 has an accelerated
video board with an optimised Xserver and your P1000 an unaccelerated
VGA Xserver.
Have you tried to compare Xwindow graphics performance on your
machines ?
Some X benchmark program (xbench) could be useful.
Hope this helps
--
Joseph Bueno
NetClub/Trader.com
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2002-05-15 17:42 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <62D26CC4CB1CD3118EAA00805FBB65FA0B8B905E@perm01.woodside.com.au>
2002-05-15 8:46 ` Performance problem Nicolas Brainez
2002-05-15 17:42 ` Greg Lindahl
2002-05-13 15:10 Nicolas Brainez
2002-05-13 15:17 ` Trond Myklebust
2002-05-13 15:34 ` Nicolas Brainez
2002-05-14 6:41 ` Trond Myklebust
2002-05-13 16:35 ` David B. Ritch
2002-05-13 16:48 ` Greg Lindahl
-- strict thread matches above, loose matches on Subject: below --
2002-04-22 13:33 Gregor Pavlin
2002-04-22 14:23 ` Joseph Bueno
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.