From mboxrd@z Thu Jan 1 00:00:00 1970 From: Javier Tarifa Subject: Re: High network usage over network filesystem Date: Thu, 29 Jan 2009 12:28:21 +0100 Message-ID: <498192D5.8010608@adbosch.es> References: <497ED038.5020709@adbosch.es> <20090127105454.834fff73.theatre@sasktel.net> <497F4C3A.6090605@adbosch.es> <20090128003417.895ec01d.theatre@sasktel.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20090128003417.895ec01d.theatre@sasktel.net> Sender: linux-msdos-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Frank Cox Cc: linux-msdos@vger.kernel.org >> If I can give any more info, please tell me. >> > > It would be interesting to see what happens if you put your data on a nfs > filesystem and then try running your compiler on that. > > Then put it on a local filesystem and see what happens there. > 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. 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.