public inbox for linux-msdos@vger.kernel.org
 help / color / mirror / Atom feed
From: Javier Tarifa <xavier.tarifa@adbosch.es>
To: linux-msdos@vger.kernel.org
Subject: High network usage over network filesystem
Date: Tue, 27 Jan 2009 10:13:28 +0100	[thread overview]
Message-ID: <497ED038.5020709@adbosch.es> (raw)

I have a weird problem. I'm using dosbox to access a mounted network 
partition. The problem is that every time a command or a program is 
launched, if your current working directory (of msdos, not linux) is in 
the novell partition, it takes forever to start. The weird thing was 
that the cpu was idle all the time, so I looked into it and saw that the 
network usage would skyrocket.
This happens specially when you're on a directories with lots of files 
in them, and I need to run a lot of commands in directories that have 
over 4000 files. This means that every time I try to launch something it 
will usually sit there for 5-6 seconds before doing anything, and that 
means that it's impossible to execute some bats we now execute under dos 
(they invoke  a program more than a thousand times).
Doing an strace, I can see it "hangs" after doing a getdents call, so I 
suppose that for some reason it's retrieving info of the files on the 
current directory or something.
Why it's doing that? Is it a dosemu thing or a freedos thing? Any idea 
how I can get around it?

             reply	other threads:[~2009-01-27  9:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27  9:13 Javier Tarifa [this message]
2009-01-27 16:54 ` High network usage over network filesystem Frank Cox
2009-01-27 18:02   ` Javier Tarifa
2009-01-27 18:27     ` Frantisek Hanzlik
2009-01-28  6:34     ` Frank Cox
2009-01-29 11:28       ` Javier Tarifa
2009-01-29 13:52         ` Alain M.

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=497ED038.5020709@adbosch.es \
    --to=xavier.tarifa@adbosch.es \
    --cc=linux-msdos@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox