All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alain M." <alainm@pobox.com>
To: dosEmu-list <linux-msdos@vger.kernel.org>
Subject: Re: High network usage over network filesystem
Date: Thu, 29 Jan 2009 11:52:07 -0200	[thread overview]
Message-ID: <4981B487.9040803@pobox.com> (raw)
In-Reply-To: <498192D5.8010608@adbosch.es>



Javier Tarifa escreveu:
>>   
> Nevermind, I've got it.
> When you try to execute something, scan_dir scans all the files on your 
> path and on your current directory searching for it.
> Even more, it scans multiple times searching for different name 
> combinations (exe/com/bat and with different capitalization), and that's 
> what causing
> huge bandwidth consumption and stalls when you're on a big directory. 
> Luckily for me, as I said in another mail I'm mounting the remote novell
> partition with ncpmount that makes all acceses to the mounted device 
> case-insensitive, so I just made scan_dir return true always, and now I 
> think it determines
> if a file it's there or not by stating it in find_file. I have 
> encountered no problems with this yet.

Could you explain this a little more... It seems that you have found the 
reason why FreeDOS is slow sometimes.

Maybe that scan_dir could be re-written so as to scan only once ant test 
all name combinations for each file in turn.

Alain

> 
> 
> Another thing, I don't know if this is the proper place to ask for it, 
> but I've found that dosemu doesn't work right with dtach.
> When you reattach you simply get a black screen and all the text, 
> windows, pictures, etc are gone. I can't use screen because for some
> reason some programs just hang when they're executed in dosemu inside a 
> screen, but they work flawlessly in dtach. It would be
> great if you could do something about this. To get around it I added 
> this at the end of sigwinch:
> 
> SLsmg_touch_lines(0,vga.text_height);
> SLsmg_refresh();
> 
> It does work now, but I know nothing of slang and the docs say you 
> should not use SLsmg_touch_lines, so it has to be a better way.
> It would be great if in the next version dosemu and dtach could get along.
> -- 


      reply	other threads:[~2009-01-29 13:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-27  9:13 High network usage over network filesystem Javier Tarifa
2009-01-27 16:54 ` 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. [this message]

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=4981B487.9040803@pobox.com \
    --to=alainm@pobox.com \
    --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 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.