LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-14-2009, 04:50 AM   #1
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Rep: Reputation: 57
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
 
Old 04-14-2009, 04:59 AM   #2
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
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.
 
Old 04-14-2009, 05:47 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
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.
 
Old 04-15-2009, 12:51 AM   #4
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by linuxlover.chaitanya View Post
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
 
Old 04-15-2009, 12:56 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
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?
 
Old 04-15-2009, 04:33 AM   #6
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,561

Original Poster
Rep: Reputation: 57
Quote:
Originally Posted by linuxlover.chaitanya View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux 2 Linux samba slow danimalz Linux - Networking 2 01-12-2006 12:25 AM
Slow Samba..... benmay05 Linux - Networking 5 01-29-2005 08:07 PM
Samba is VERY VERY slow ludwig W Linux - Networking 25 09-20-2004 02:55 PM
Samba transfer slow from linux client unicr0n Linux - Software 0 09-09-2004 04:12 AM
Slow SAMBA gshok108 Linux - Networking 0 12-21-2003 06:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:28 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration