Solved

Accessing SAMBA shares is very very slow.

Posted on 2006-11-27
2
512 Views
Last Modified: 2012-05-05
We had an old P2 server w/ 256MB RAM running Netware 4.11. It shared a folder containg an .exe to a dozen Windows (Windows 2000) machines. The Windows machines mapped the folder and when the person clicked on the .exe it would start the app immediately.

I recently replaced that old Netware machine with a much newer P3 system with 256MB RAM running CentOS 4.4 Linux. I created a share in SAMBA with the proper permissions and set up the Windows workstations to map to it. I put the .exe in a shared folder.

The problem is that when one person from a Windows machine starts the shared .exe it is very slow to start up, taking upwards of 2 minutes to start where as on the Netware box it would start immediately. When all twelve people try to access it, it starts very slowly for some of them and only gets a Windows application error on the other machines.

I have diasbled all uneccesary services on the Linux box to try to free up some memory. I have disabled iptables just in case that was messing with something. I have switched to runlevel 3 so that X and KDE are not hogging memory. Yet still it is as slow as ever to access the share. I then doubled the RAM to 512MB and it is STILL just as slow to access the share.

What am I doing wrong? Why is it so slow? The Netware box served the file up very speedily. But the Linux box, with a way faster processor and now with twice the RAM, serves very slowly.
0
Comment
Question by:xy8088
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 40

Accepted Solution

by:
noci earned 500 total points
ID: 18026265
This might be network adapter/switch related.
Could you try to do measurements using netio:

http://www.ars.de/ars/ars.nsf/docs/netio

You might have a problem with your interface adapter connected to the
switch/hub. (using 10Mbit or a Full/Half duplex mismatch).

Also try it between workstations.

Upload & download should be stable & equal. If not you might need to adjust
the network settings, using eth-tools or net-tools.

http://sourceforge.net/projects/gkernel/
http://sites.inka.de/lina/linux/NetTools/

If there are differences, set the switch to some known state (Full Duplex f.e.)
and set the linux system accordingly.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Ubuntu not booting - How get past GRUB? 3 81
Using sort and uniq to pare down large syslog 6 73
IP 10.0.1.2 / 255.0.0.0 61 78
SSH in linux 9 67
In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to show how we can create Linux Mint virtual machine using Oracle Virtual Box. To install Linux Mint we have to download the ISO file from its website i.e. http://www.linuxmint.com. Once you open the link you will see …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question