LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Slow samba between Linux and one XP (https://www.linuxquestions.org/questions/linux-server-73/slow-samba-between-linux-and-one-xp-718970/)

frenchn00b 04-14-2009 04:50 AM

Slow samba between Linux and one XP
 
What could it be?
Before it was rather fast.

the smb.conf looks like this:

Code:

#======================= Share Definitions =======================

[homes]
  comment = Home Directories
  browseable = no

# By default, the home directories are exported read-only. Change next
# parameter to 'yes' if you want to be able to write to them.
  writable = yes

# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
  create mask = 0700

# Directory creation mask is set to 0700 for security reasons. If you want to
# create dirs. with group=rw permissions, set next parameter to 0775.
  directory mask = 0700

# Restrict access to home directories
# to the one of the authenticated user
# This might need tweaking when using external authentication schemes
  valid users = %S

# Un-comment the following and create the netlogon directory for Domain Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
;  comment = Network Logon Service
;  path = /home/samba/netlogon
;  guest ok = yes
;  writable = no
;  share modes = no

# Un-comment the following and create the profiles directory to store
# users profiles (see the "logon path" option above)
# (you need to configure Samba to act as a domain controller too.)
# The path below should be writable by all users so that their
# profile directory may be created the first time they log on
;[profiles]
;  comment = Users profiles
;  path = /home/samba/profiles
;  guest ok = no
;  browseable = no
;  create mask = 0600
;  directory mask = 0700

[printers]
  comment = All Printers
  browseable = no
  path = /var/spool/samba
  printable = yes
  public = no
  writable = no
  create mode = 0700

# Windows clients look for this share name as a source of downloadable
# printer drivers
[print$]
  comment = Printer Drivers
  path = /var/lib/samba/printers
  browseable = yes
  read only = yes
  guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
;  write list = root, @ntadmin

# A sample share for sharing your CD-ROM with others.
[share]
  comment = Samba server's SHARE
  writable = yes
  locking = no
  path = /share
  public = no


frenchn00b 04-14-2009 04:59 AM

Copying a file of 70MB got from XP => LINUX
of a 600kbytes / sec

is that a lot or goddam slow?

I use a regular router and ethernet cables.

linuxlover.chaitanya 04-14-2009 05:47 AM

It is slow. With even cat5e cables you should be getting speeds in Mbps. Usually I copy the data from linux to windows by just mounting the shares and get speeds of around 3mbps.
You could look into your network for any issues and clues.

frenchn00b 04-15-2009 12:51 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3508243)
It is slow. With even cat5e cables you should be getting speeds in Mbps. Usually I copy the data from linux to windows by just mounting the shares and get speeds of around 3mbps.
You could look into your network for any issues and clues.

I checked that speed with copying with total commander. some 70mb takes 20-30 seconds to be copied from xp to linux.

I have cat5e ehternet cables and a regular home router. so it may now be only samba problem,? maybe cables?
I have only 2 cables , one to routeur n xp, and one to routeur and linux. 2 + 2 meters :(

linuxlover.chaitanya 04-15-2009 12:56 AM

This should not be anything to do with samba. It will just help you share the linux files with windows. This has to do with the hardware according to me. May be the cables? May be the ethernet cards? Or anything else that you could be missing?

frenchn00b 04-15-2009 04:33 AM

Quote:

Originally Posted by linuxlover.chaitanya (Post 3509245)
This should not be anything to do with samba. It will just help you share the linux files with windows. This has to do with the hardware according to me. May be the cables? May be the ethernet cards? Or anything else that you could be missing?

I have such type of router actually. ahhh and one cable of 5-10meters not 2 meters. maybe i should buy better cable quality.
The xp is very good, it s a lenovo, but the linux, it is plugged to the mother board an asus card


All times are GMT -5. The time now is 01:13 AM.