Hi!
I have moved our samba configuration to a new hardware.
Old config:
PII 266 MHz
96MB memory
RedHat 7.2
20Gb ide hard drive for samba shares
samba-*-2.2.7-3.7.2 packages installed
kernel-2.4.20-28.7
New config:
P4 2.4GHz
512MB memory
RedHat 9.0
60GB scsi hard drive for samba shares and OS
40GB ide hard drive for backups
samba-*-2.2.7a-8.9.0 packages installed
kernel-2.4.20-28.9
There is a backup script running from cron which create daily incremental
and (full on friday)
backups from samba shares (>6GB/share) using smbtar.
On the new config this script runs much slower. I can not figure it out what
could be the problem.I have recompiled samba-2.2.7a package from srpm but
nothing has
changed. Same with samba-2.2.8a.
Output of backup script on PII config:
538112 ( 3981.1 kb/s)
23040 ( 3214.3 kb/s)
56320 ( 3928.6 kb/s)
27648 ( 3000.0 kb/s)
314368 ( 3837.5 kb/s)
17920 ( 2916.7 kb/s)
249344 ( 3927.4 kb/s)
27648 ( 3000.0 kb/s)
18432 ( 3000.0 kb/s)
Output of backup script on P4 config:
37888 ( 146.2 kb/s)
63488 ( 73.8 kb/s)
59392 ( 92.1 kb/s)
29184 ( 67.9 kb/s)
24576 ( 114.3 kb/s)
97280 ( 74.9 kb/s)
137216 ( 79.7 kb/s)
56320 ( 87.3 kb/s)
36352 ( 84.5 kb/s)
88451 ( 82.3 kb/s)
96256 ( 74.7 kb/s)
62464 ( 72.5 kb/s)
606180 ( 76.2 kb/s)
21071 ( 98.5 kb/s)
Any help would be appreciated.
Thanks
Zoltan Sutto
Hello, Sutto, Freitag, 06. Februar 2004, 21:51 you wrote: SZ> There is a backup script running from cron which create daily incremental SZ> and (full on friday) SZ> backups from samba shares (>6GB/share) using smbtar. SZ> Output of backup script on PII config: SZ> 538112 ( 3981.1 kb/s) SZ> Output of backup script on P4 config: SZ> 37888 ( 146.2 kb/s) SZ> Any help would be appreciated. What's the script doing? As you not only upgraded Samba, but the whole OS, I would look for issues like network-config, duplexing and such first. How fast is your standard copy-to-samba-share for instance? -- It is nice to tell us about your shiny new hardware, but this is obviously not your bottleneck. Maybe it is just your new NIC set to halfduplex-10mbit ---- ;) In short words, this might not be a Samba-topic at all. Look for basic network-config first. -- best regards, Stefan G. Weichinger mailto:monitor@oops.co.at
I have removed SO_RCVBUF=8192 SO_SNDBUF=8192 settings from socket_options. It helped. I hope it's not having any side effect.> ----- Original Message ----- > From: "Stefan G. Weichinger" <monitor@oops.co.at> > To: <samba@lists.samba.org> > Sent: Saturday, February 07, 2004 8:35 PM > Subject: Re: [Samba] much slower backups using smbtar > > > > Hello, Sutto, > > > > Freitag, 06. Februar 2004, 21:51 you wrote: > > > > SZ> There is a backup script running from cron which create daily > incremental > > SZ> and (full on friday) > > SZ> backups from samba shares (>6GB/share) using smbtar. > > > > SZ> Output of backup script on PII config: > > SZ> 538112 ( 3981.1 kb/s) > > > > SZ> Output of backup script on P4 config: > > SZ> 37888 ( 146.2 kb/s) > > > > SZ> Any help would be appreciated. > > > > What's the script doing? > > > > As you not only upgraded Samba, but the whole OS, I would look for > > issues like network-config, duplexing and such first. > > > > How fast is your standard copy-to-samba-share for instance? > > > > -- > > > > It is nice to tell us about your shiny new hardware, but this is > > obviously not your bottleneck. > > > > Maybe it is just your new NIC set to halfduplex-10mbit ---- ;) > > > > In short words, this might not be a Samba-topic at all. > > > > Look for basic network-config first. > > > > -- > > best regards, > > Stefan G. Weichinger > > mailto:monitor@oops.co.at > > > > > > > > > > >