Re: [Samba] Performance issues: have eliminated disk and network as cause

2010-04-01 Thread James Cort
Just been told the config file didn't appear in the email as it went out
(even though it certainly appears in the copy I've got), so I'm attaching
inline this time.

Oh, BTW:  it's version 3.4.7 on Debian Lenny, installed from backports.

[global]
workgroup = U4EATECH
netbios name = tiamat
enable privileges = yes
server string = Primary Domain Controller %v
security = user
local master = no
os level = 33
domain master = no
preferred master = no
encrypt passwords = true
null passwords = no
hide unreadable = yes
hide dot files = yes
obey pam restrictions = Yes
unix password sync = Yes
remote browse sync = 172.30.20.109 172.30.20.130 172.27.0.6
enhanced browsing = yes
passwd program = /usr/sbin/smbldap-passwd %u
 passwd chat = Changing UNIX and samba passwords for*\nNew password* %n\n
*Retype new password* %n\n
ldap passwd sync = Yes
log level = 0
syslog = 1
log file = /var/log/samba/log.%m
max log size = 1000
read raw = yes
write raw = yes
kernel oplocks = yes
max xmit = 65535
dead time = 15
use sendfile = yes
socket options =  TCP_NODELAY SO_KEEPALIVE IPTOS_LOWDELAY
getwd cache = yes
mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1

logon script = logon.bat
logon path =
logon home = \\atlas\%U
logon drive = H:
domain logons = Yes
wins server = 172.30.20.109
#name resolve order = hosts bcast
name resolve order = wins lmhosts hosts bcast
dns proxy = yes
time server = yes
passdb backend = ldapsam:ldap://ldap.u4eatech.com/ ldap://
ldap-slave.u4eatech.com
ldap admin dn = cn=smbadmin,dc=u4eatech,dc=com
ldap suffix = dc=u4eatech,dc=com
ldap group suffix = ou=Group
ldap user suffix = ou=People
ldap machine suffix = ou=Hosts
ldap idmap suffix = ou=People
ldap ssl = no
add user script = /usr/sbin/smbldap-useradd -m %u
ldap delete dn = Yes
delete user script = /usr/sbin/smbldap-userdel %u
add machine script = /usr/sbin/smbldap-useradd -w %u
add group script = /usr/sbin/smbldap-groupadd -p %g
delete group script = /usr/sbin/smbldap-groupdel %g
add user to group script = /usr/sbin/smbldap-groupmod -m %u %g
delete user from group script = /usr/sbin/smbldap-groupmod -x %u
%g
set primary group script = /usr/sbin/smbldap-usermod -g %g %u
load printers = no
create mask = 0640
directory mask = 0750
nt acl support = Yes
guest account = nobody
dont descend = /proc,/dev,/etc,/lib,/lost+found,/initrd
#show add printer wizard = yes
; to maintain capital letters in shortcuts in any of the profile
folders:
preserve case = yes
short preserve case = yes
case sensitive = no

[netlogon]

path = /home/samba/netlogon
guest ok = yes
browseable = No
read only = no

[wpkg]
path = /home/samba/wpkg
read only = yes
guest ok = yes
browseable = no
[homes]
comment = Home Directories
browseable = yes
writable = yes
oplocks = yes

GOS Networks Limited, 1 Friary, Temple Quay, Bristol, BS1 6EA, UK.

Registered company number: 6917663
 

The information in this email is confidential and may be legally privileged.
It is intended solely for the addressee. Access to this email by anyone else
is unauthorised. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in reliance
on it, is prohibited and may be unlawful. When addressed to our clients any
opinions or advice contained in this email are subject to the terms and
conditions expressed in the governing GOS Networks agreement.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Performance issues

2005-10-08 Thread Ryan Wright
Thank you both for your replies.

 I can't guarantee that this will solve your problem, but since you
 mention that you've replaced a server, there's a good chance that there
 are some stale  invalid shortcuts lying around. It could be that
 Windows periodically is going out there looking for these nonexistent
 shares, and in the process interrupts your connection. Hey, it's worth a
 shot.

I'll give it a try. That makes sense and won't take much time to test.

Appreciate it,

-Ryan
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Re: [Samba] Performance issues

2005-10-07 Thread Jeremy Allison
On Fri, Oct 07, 2005 at 10:08:33AM -0700, Ryan Wright wrote:
 List,
 
 I apologize for the newbie nature of this post; I am sure there is
 an easy answer somewhere, but I've tried all the search terms I can
 think up and can't find it.
 
 I have some video archived on a White Box 4 machine. I watch it on a
 Windows XP box in the other room by mapping a drive to a Samba share.
 Seemingly at random, my video stream will halt due to an inability to
 receive data from the server. If I pause for a few seconds and resume,
 everything is usually fine. This generally happens only once or twice
 per hour, but it's annoying.
 
 The video is not huge. We're talking ~350MB xvid files, 45 minutes
 each (compressed network TV shows). The Samba server used to be a
 Windows 2000 Server and the same video files worked perfectly from
 there. Network is gigabit on the server side, 100mbit on the client
 side - though even wireless should be able to stream these files.
 Virtually no traffic on the network (just my computers and they mostly
 sit idle unless I'm using them).
 
 I saw this problem again last night when copying ~10GB worth of files
 from another XP box to the Samba share. The copy stopped a couple of
 times, telling me the network path no longer existed, but after
 clicking OK I could still browse the share just fine. It's like an
 intermittant, very temporary glitch.

This kind of thing is hard to debug. You need to keep very accurate
statistics on what is going on on the server over the copying period
to be able to debug this. I'd try running vmstat 1 (every second) and
capturing the output over the copying period to try and catch this.

Jeremy.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Performance issues

2005-10-07 Thread Jonathan Johnson
I have seen performance issues where a Windows client (Explorer) takes a 
while to display a file listing on a remote computer, but then it 
accesses it just fine. Generally speaking, this is the opposite of what 
you describe, but it could be related.


In investigating this, the problem (not the symptom, the actual problem) 
turned out to be invalid shortcuts to network shares. These invalid 
shortcuts are left behind from when a server or share once existed on 
the network but has since been removed.


When initially browsing the network, Windows attempts to access all the 
remote shares it knows about BEFORE displaying any listings, rather than 
accessing the remote share only if the user requests it. This seems to 
be especially problematic with Microsoft Word and Excel when opening 
documents.


There are several places to look for these stale or invalid shares:

1. My Network Places -- Open this up, and delete any shortcuts that 
point to remote servers or shares that no longer exist. It's actually 
safe to delete ALL of the network shortcuts (named like Someshare on 
someserver (servername)). Usually these are created automatically.


2. My Computer -- Disconnect (remove) any network drive mappings that 
point to nonexistent shares or servers.


3. Desktop -- same thing as My Network Places; remove any invalid 
shortcuts to network shares. I don't think that these cause a problem as 
described above, but it can't hurt to remove them.


4. Registry -- 
HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints 
(MountPoints2 in XP or later) -- there may be subkeys in the form of 
##server#share. Delete any keys that point to nonexistent servers or shares.


Lastly, if you are using Windows XP or later, disable Automatically 
search for network folders and printers. To do so, open My Computer, 
click Tools - Folder Options, View tab, and it's in there. When enabled, 
Windows will fill up your My Network Places with shortcuts to any 
network shares it finds, and will fill up your Printers folder with 
Auto printers.


Note that each of these things are on a PER PROFILE basis. You will need 
to check each Windows user login for these issues.


I can't guarantee that this will solve your problem, but since you 
mention that you've replaced a server, there's a good chance that there 
are some stale  invalid shortcuts lying around. It could be that 
Windows periodically is going out there looking for these nonexistent 
shares, and in the process interrupts your connection. Hey, it's worth a 
shot.


--Jonathan Johnson

Ryan Wright wrote:


List,

I apologize for the newbie nature of this post; I am sure there is
an easy answer somewhere, but I've tried all the search terms I can
think up and can't find it.

I have some video archived on a White Box 4 machine. I watch it on a
Windows XP box in the other room by mapping a drive to a Samba share.
Seemingly at random, my video stream will halt due to an inability to
receive data from the server. If I pause for a few seconds and resume,
everything is usually fine. This generally happens only once or twice
per hour, but it's annoying.

The video is not huge. We're talking ~350MB xvid files, 45 minutes
each (compressed network TV shows). The Samba server used to be a
Windows 2000 Server and the same video files worked perfectly from
there. Network is gigabit on the server side, 100mbit on the client
side - though even wireless should be able to stream these files.
Virtually no traffic on the network (just my computers and they mostly
sit idle unless I'm using them).

I saw this problem again last night when copying ~10GB worth of files
from another XP box to the Samba share. The copy stopped a couple of
times, telling me the network path no longer existed, but after
clicking OK I could still browse the share just fine. It's like an
intermittant, very temporary glitch.

Stats:
White Box Linux 4 (kernel 2.6.9-5)
Samba 3.0.10-1.4E

Relevant smb.conf:
[global]
   workgroup = WRIGHT
   netbios name = SATURN
   server string = Saturn
   security = domain
   idmap uid = 15000-2
   idmap gid = 15000-2
   winbind use default domain = Yes
   encrypt passwords = yes
   password server = jupiter

jupiter is a Win2k server  PDC.

Any advice would be greatly appreciated.

-Ryan
 


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Performance Issues with GBit LAN

2004-10-13 Thread Steffen Timmermann
Dimitar Vassilev wrote:

Read the links and adjust your values accordingly. I haven't been able to
implement all options, but I have a similar problem on 10/100mbit net with
a
slack 10/2.6.8 kernel. The tips on netbios over tcp and computer browser
were
given me by my net admin. The rest I googled and wrote down. Hope it helps.
Please tell how it works.
Regards,
Dimitar Vassilev

I adjusted the settings, and i got a plus in performance of 1 MB so i get a
download of 9-10 MB now. But not what i expected. Anyway: thanks for your
help, it gave me a great insight in the configuration of the samba Server.

If i should Cc: you in the following mails, please let me know.

Regards,

Steffen Timmermann


Tom Hibbert wrote:

Hi Steffen

Looking at the configuration of the server PC, you have a Realtek
network card and an unspecified RAID card on a P2 300. I'm guessing that
the machine is based on an LX or BX chipset with PC66 or PC100 ram.

I looked it up and it's an ASUS P2B-LS Motherboard with the 440BX Chipset.

You have 66mhz bandwidth to play with in the PCI bus. You also have
66mhz FSB thanks to the PII 300 CPU. All the benchmarking you have done
(both Iperf and hdparm) both test the two subsystems individually, not
together. My initial guess is that your PCI bus and/or CPU cannot drive
this system at its full potential. Look at the load average on the
server during transfer.

The average loads are 0.23, 0.22, 0.12

I don't know what it means exactly, but i get them out of top during
transfer


Secondly you are running Redhat 9 with a Realtek 8169. There were a
number of issues with the stock Redhat 9 kernel versus a Realtek 8169,
see here
http://www.linuxquestions.org/questions/showthread.php?s=threadid=14975
1highlight=8169. In fact these users are reporting only 8-10mb
throughput which is exactly what you are describing.

I have tested the machine with Suse 8.2 before, but there's the same
problem. Maybe because the Kernel version is almost the same? (2.4.20)

My advice to you is to roll a custom kernel for your system

I have once compiled a new kernel on another machine, but i'm not familiar
with it. Please tell me the commands i have to run for this.

(optimized
for Pentium 2, raid and network drivers built into kernel instead of
modules).

At the Moment they're both modules [r8169.o (version 2.2 from realtek site)
and the raidcontroller (which is an ITE 8212)]

Then perform a proper hard disk benchmark using Bonnie++ so
you know what the disks are truly capable of (hdparm -t doesn't cut it
in this respect).

I've done it. Here are the results:

On /dev/sda:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.1938', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  2419 99.2 42898 85.5 58114 98.2  2378 99.5 154956 99.9 7765.2
99.0
[EMAIL PROTECTED] bonnie]#


On /dev/sdb:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.1926', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  2259 99.6 27232 99.5 60478 93.3  2382 99.6 154711 101.2
7958.0 99.5
[EMAIL PROTECTED] bonnie]#

As I see, there is almost 100% CPU Used when the Program reads/writes
from/to the Harddisks. In this case, do you think upgrading the System to an
700 Mhz Celeron will bring more Performance? When I want to do so, i must
ensure that the data on the RAID isn't lost while transferring the harddisks
and the controller to the other PC, because it's too much to transfer on the
2nd PC. (By the Way: Do you know if the Data on the disks is lost when i
transfer the raid out of the one machine into another?)


Then I would compare the difference between throughput serving from both
your SCSI disk (sda) and RAID array with the benchmark data given by
bonnie++. This may reveal a CPU or FSB bottleneck.


Good luck and thanks

Tom

Additional information about the System: This is the dmesg output:

[EMAIL PROTECTED] root]# dmesg
Linux version 2.4.20-8 ([EMAIL PROTECTED]) (gcc version 3.2.2
20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 

Re: [Samba] Performance Issues with GBit LAN

2004-10-13 Thread Steffen Timmermann
Now I have built the RAID into the other machine with 700 MHz Celeron and
the same GBit card. This Machine has also 384 MB of RAM, so this is upgraded
too.

The output of Bonnie tested on the Raid looks like:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.2324', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  5084 99.0 47481 96.9 15686 15.0  5079 94.9 48069 23.0 558.3
5.6
[EMAIL PROTECTED] bonnie]#


I think, the CPU-Rates are better as before in the old machine.

Now the test on the (Now Onboard-IDE) 10 GB Seagate Harddisk /dev/hda/:

[EMAIL PROTECTED] bonnie]# ./Bonnie
File './Bonnie.2331', size: 104857600
Writing with putc()...done
Rewriting...done
Writing intelligently...done
Reading with getc()...done
Reading intelligently...done
Seeker 1...Seeker 2...Seeker 3...start 'em...done...done...done...
  ---Sequential Output ---Sequential
Input-- --Random--
  -Per Char- --Block--- -Rewrite-- -Per
Char- --Block--- --Seeks---
MachineMB K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU K/sec %CPU  /sec
%CPU
  100  4952 98.8 36262 47.8  9078  9.6  4356 87.7 48891 23.4 338.5
3.4
[EMAIL PROTECTED] bonnie]#


Here the CPU-Rates are better, too. So this should have been the first
bottleneck.

The dmesg now looks like:

[EMAIL PROTECTED] bonnie]# dmesg
Linux version 2.4.20-8 ([EMAIL PROTECTED]) (gcc version 3.2.2
20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003
BIOS-provided physical RAM map:
 BIOS-e820:  - 0009f800 (usable)
 BIOS-e820: 0009f800 - 000a (reserved)
 BIOS-e820: 000f - 0010 (reserved)
 BIOS-e820: 0010 - 17feb000 (usable)
 BIOS-e820: 17feb000 - 17fef000 (ACPI data)
 BIOS-e820: 17fef000 - 17fff000 (reserved)
 BIOS-e820: 17fff000 - 1800 (ACPI NVS)
 BIOS-e820:  - 0001 (reserved)
0MB HIGHMEM available.
383MB LOWMEM available.
On node 0 totalpages: 98283
zone(0): 4096 pages.
zone(1): 94187 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro
BOOT_FILE=/boot/vmlinuz-2.4.20-8 root=LABEL=/
Initializing CPU#0
Detected 701.604 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1399.19 BogoMIPS
Memory: 381976k/393132k available (1347k kernel code, 8592k reserved, 999k
data, 132k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 128K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383f9ff   
CPU: Common caps: 0383f9ff   
CPU: Intel Celeron (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch ([EMAIL PROTECTED])
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0d90, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/2440] at 00:1f.0
isapnp: Scanning for PnP cards...
isapnp: No Plug  Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 2
ICH2: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0xa800-0xa807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xa808-0xa80f, BIOS settings: hdc:pio, hdd:pio
hda: 

Re: [Samba] Performance Issues with GBit LAN

2004-10-12 Thread Holger Krull
Steffen Timmermann schrieb:
I have 2 PC's connected with 1GBit NIC's. 

When I transfer a file from my File-Server
(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC,
What Chipset? Maybe Intel BX? The at this time common Harddisk Interface 
 can't read faster than about 9MB per second.
If you use a separate PCI Card as Harddisk Interface enable PCI Buffers 
in Bios.

2x Western Digital WD200JB RAID 0) 
to my Windows-PC(AMD Athlon XP 1800+, 
1024 MB DDR-RAM, WINXP PRO, RTL8169 NIC,
2x Western Digital WD080JB RAID 0) with Samba,

i get Speeds around 8-9MB/sec. 
to be expected

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Performance Issues with GBit LAN

2004-10-12 Thread Steffen Timmermann
At first: Thanks for the response.

Here are the performance Measures of my Harddisks in the Server. As the
Harddisks are not connected to the Onboard IDE, they're not limited to 9
MB/sec

/dev/sda is the SCSI HDD where Redhat 9.0 is installed on.

/dev/sdb is the RAID 0, Connected to the PCI Raid Controller Card. The only
Share Samba provides is on the RAID, so performance should be enough.

[EMAIL PROTECTED] /]# hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:  64 MB in  5.42 seconds = 11.81 MB/sec
[EMAIL PROTECTED] /]# hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads:  64 MB in  1.55 seconds = 41.29 MB/sec

- Original Message - 
From: Dimitar Vassilev [EMAIL PROTECTED]
To: Holger Krull [EMAIL PROTECTED]
Cc: Steffen Timmermann [EMAIL PROTECTED]; Sambaliste
[EMAIL PROTECTED]
Sent: Tuesday, October 12, 2004 7:40 PM
Subject: Re: [Samba] Performance Issues with GBit LAN


Holger Krull [EMAIL PROTECTED]:
 Please post your socket options.
Where do i find them?
 Disable computer browser from Control panel - Administrative
Tools-Services
Wasn't disabled...done
 Enable Netbios over TCP
Wasn't enableddone
 set SO_RCVBUF and SO_SNDBUF to a value higher than 16386
How do I set the Buffersizes and on which machine?
 set dir caching.
Where do i set this?
 Get clients gigabit NICs
The Server and the Client both have the same GBit NIC with 8169 chipset.
 Best regards,
 Dimitar  Vassilev

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Performance Issues with GBit LAN

2004-10-12 Thread Tom Hibbert

Hi Steffen
At first: Thanks for the response.

Here are the performance Measures of my Harddisks in the Server. As the
Harddisks are not connected to the Onboard IDE, they're not limited to
9
MB/sec

/dev/sdb is the RAID 0, Connected to the PCI Raid Controller Card. The
only
Share Samba provides is on the RAID, so performance should be enough.

/dev/sdb:
Timing buffered disk reads:  64 MB in  1.55 seconds = 41.29 MB/sec

(Redhat9.0, 256 SD-RAM, 300MHz PII, RTL8169 NIC, 2x Western Digital
WD200JB RAID 0) to my Windows-PC(AMD Athlon XP 1800+, 1024 MB DDR-RAM,
WINXP PRO, RTL8169 NIC, 2x Western Digital WD080JB RAID 0)

Looking at the configuration of the server PC, you have a Realtek
network card and an unspecified RAID card on a P2 300. I'm guessing that
the machine is based on an LX or BX chipset with PC66 or PC100 ram.
You have 66mhz bandwidth to play with in the PCI bus. You also have
66mhz FSB thanks to the PII 300 CPU. All the benchmarking you have done
(both Iperf and hdparm) both test the two subsystems individually, not
together. My initial guess is that your PCI bus and/or CPU cannot drive
this system at its full potential. Look at the load average on the
server during transfer.

Secondly you are running Redhat 9 with a Realtek 8169. There were a
number of issues with the stock Redhat 9 kernel versus a Realtek 8169,
see here
http://www.linuxquestions.org/questions/showthread.php?s=threadid=14975
1highlight=8169. In fact these users are reporting only 8-10mb
throughput which is exactly what you are describing.

My advice to you is to roll a custom kernel for your system (optimized
for Pentium 2, raid and network drivers built into kernel instead of
modules). Then perform a proper hard disk benchmark using Bonnie++ so
you know what the disks are truly capable of (hdparm -t doesn't cut it
in this respect).
Then I would compare the difference between throughput serving from both
your SCSI disk (sda) and RAID array with the benchmark data given by
bonnie++. This may reveal a CPU or FSB bottleneck.


Good luck and thanks

Tom
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Performance Issues with AutoCad 2003

2004-06-04 Thread Randy S
Have you tried dissabling the firewall just to test?
/R
Brian Merrell wrote:
Hello, we are using a Samba server (3.0.2a) here at work.  It's running on a dual 
1.4ghz opteron with two 250gig HD.  Everything seems to be running fine except for 
AutoCad (which is the main program we run).  Any time we try to save it can take up to 
10 seconds, or each time we try to print it can take about the same amount of time to 
bring up the print dialog. I am only serving about 6 workstations at a time.
We had the files on a Windows XP machine (not near as good hardware) and everything 
ran smoothly.
I have been searching on google and I have found a few hints, but I have not been able 
to increase my performance.
Here is smb.conf:
[global]
workgroup = WORK
security = USER
netbios name = SERVER
encrypt passwords = Yes
smb passwd file = /etc/samba/private/smbpasswd
[Drawings]
path = /fileservice/drawings
writeable = Yes
browseable = Yes
read only = No
guest ok = No
comment = autocad related files and misc files
valid users = drafter
[Topowork]
path = /fileservice/topowork
writeable = Yes
browseable = Yes
read only = No
guest ok = No
comment = adobe related files
valid users = drafter
hosts allow = 127.0.0.1 10.0.0.0/24
hosts deny = 0.0.0.0/0
Thanks for the help
==
Brian G. Merrell
   Graphics  Networking
  Tri-State Land Surveying
  435-781-2501
==
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] performance issues

2003-03-14 Thread Peter Carpenter
Have you tried deadtime = 15 or similar in your smb.conf?

-Original Message-
From: Mark Le Noury [mailto:[EMAIL PROTECTED]
Sent: Friday, 14 March, 2003 7:31 AM
To: Samba (E-mail)
Subject: [Samba] performance issues


Hi,

I have compiled and am running samba version 2.2.7.a on Redhat linux 7.3. I
am having some performance issues with it and was wondering if I was doing
something wrong.

I have noticed that if I use samba in security = server mode, every time a
new connection is made to the server from the same client a new smbd process
is started. It also seems as if the process only ends when the client
machine is rebooted.

When I use the server in security = user mode, every time a new connection
is made from a different client a new process is started. It also only seems
to kill the process when the client is rebooted.

I end up with a lot of processes running on the fileserver and sometimes the
machine locks up and complains about the max file limit being reached. I
have found a workaround by increasing the file-max value in /proc/sys/fs.

I was just wondering if there is a way to get the processes to die as soon
as the client disconnects from the server - maybe I have omitted something
when running the configure command??

I was also wondering if it is the default behaviour of samba to spawn new
processes every time a connection is made? Is it possible to change this
behaviour?

thanks in advance,

Mark Le Noury

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba