All of lore.kernel.org
 help / color / mirror / Atom feed
From: "J.A. Magallon" <jamagallon@able.es>
To: linux-kernel@vger.kernel.org
Subject: Re: nfs and getattr
Date: Tue, 18 Mar 2003 03:11:04 +0100	[thread overview]
Message-ID: <20030318021104.GA28827@werewolf.able.es> (raw)
In-Reply-To: <20030318014700.GA28769@werewolf.able.es>; from jamagallon@able.es on Tue, Mar 18, 2003 at 02:47:00 +0100


On 03.18, J.A. Magallon wrote:
> A NFS client through 100Mb Ether takes a loooooooong time to read a database
> from the server, which the server itself reads in less than 10 seconds.
> The database is a scene description for render that basically 'includes'
> the same small set of files (around 10) many times, instanced all over the
> place...
> 
> Mount in client:
> 10.0.0.1:/home on /home type nfs (rw,nfsvers=2,noac,addr=10.0.0.1)
> 

More with a silly test:

#!/bin/bash

for i in $(seq 1000)
do
        cat $0 > /dev/null
done

annwn:~> time nfst
0.69user 1.49system 0:02.04elapsed 106%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (126416major+42508minor)pagefaults 0swaps
annwn:~> time bpsh 0 nfst
1.02user 1.86system 0:33.64elapsed 8%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (280major+30minor)pagefaults 0swaps

-- 
J.A. Magallon <jamagallon@able.es>      \                 Software is like sex:
werewolf.able.es                         \           It's better when it's free
Mandrake Linux release 9.1 (Cooker) for i586
Linux 2.4.21-pre5-jam0 (gcc 3.2.2 (Mandrake Linux 9.1 3.2.2-3mdk))

  reply	other threads:[~2003-03-18  2:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-18  1:47 nfs and getattr J.A. Magallon
2003-03-18  2:11 ` J.A. Magallon [this message]
2003-03-18  3:04 ` Trond Myklebust

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030318021104.GA28827@werewolf.able.es \
    --to=jamagallon@able.es \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.