All of lore.kernel.org
 help / color / mirror / Atom feed
From: Patrick Boutilier <boutilpj@ednet.ns.ca>
To: nfs@lists.sourceforge.net
Subject: Cpu usuage baloons to 100% on both CPUs
Date: Mon, 22 Apr 2002 10:41:16 -0300	[thread overview]
Message-ID: <3CC412FC.20601@ednet.ns.ca> (raw)

Hi,

I am trying to replace a tape library with NFS mounted disk storage for 
an ADSM server solution. We have a 3Ware 7850 storage switch with 8 160G 
Maxtor's connected to it. I have created a 1.1T nfs export under 
/var/adsm which is nfs mounted by an AIX 4.3 machine ADSM server).

The ADSM server needs to format volumes on the NFS server. I setup a 
perl script to do so, attempting to create 1000 1 Gig volumes at the 
root of the nfs mount point. After the 79th volume was created the CPU 
usage on both AMD 1800+ CPUs went to 100% and the creation of the 
voulmes slowed down drastically from a steady 2 minutes per 1 Gig volume 
to over 10 minutes per 1 Gig volume. The times kept increasing so a 
stopped the script. I noticed that I could create a volume in a 
subdirectory of the nfs mount in 2 minutes (25-30% CPU usuage on both 
CPUs) at this point so I decided to switch my strategy and create 20 
1Gig volumes under 50 seperate directories called backup1 , backup2 , 
etc.. for a total of 50 subdirectories each containing 20 1 Gig volumes.

This strategy appeared to be working until the creation of the 750th or 
so (can't remember the exact number) volume when once again the CPU 
usuage went to 100% and poerformance dropped. Figuring I had hit a file 
number limit or something I restarted once again creating 20 2Gig 
volumes in 25 subdirectories. Once again the CPU usuage went up to 100% 
after the 327 volume was created.

Thinking this might be an ADSM/AIX problem I nfs mounted the same nfs 
export from my linux box and tried to rsync an ISO image to the 
directory (backup17) where the problem occured. Same thing. CPU usuage 
went to 100%. However rsyncing the ISO image through ssh instead of 
through the nfs mount didn't cause the problem to occur so it doesn't 
appear to ba filesystem problem. Now for the really weird part. I can 
rsync through nfs an ISO image into backup16 (which contains 20 2Gig 
volumes) and backup18 which is empty and the problem doesn't occur. I am 
now creating more ADSM volumes in backup18 - backup25 and the peformance 
is fine. I am waiting to see if I hit another performance snag. :-)

So what is so special about the subdirectory backup17 at this point?


I am using Redhat 7.3 beta with a 2.4.19pre6 kernel. The machine is a 
dual CPU Athalon 1800+ with 512Meg of RAM. I will try RedHat 7.2 on 
another machine later to see if the problem is related to the 7.3 beta.




_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

                 reply	other threads:[~2002-04-22 13:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3CC412FC.20601@ednet.ns.ca \
    --to=boutilpj@ednet.ns.ca \
    --cc=nfs@lists.sourceforge.net \
    /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.