Re: Writes to samba server very, very slow (SOLVED)

2005-07-27 Thread Bob Beck
Try disabling apm. # config -e -o /nbsd /bsd ukc> disable apm 252 apm0 disabled ukc> quit # cp /bsd /obsd # mv /nbsd /bsd # reboot If that speeds it up you have the "hlt hlt" issue. it's fixed in current and stable

Re: Writes to samba server very, very slow (SOLVED)

2005-07-22 Thread Gary Clemans-Gibbon
Gary Clemans-Gibbon wrote: Hi All, I just built a OpenBSD 3.7 samba file server for my home lan. It's a P3 500, 128mb RAM, with a 2 gig IDE HDD for the OS and two x Maxtor 200 GB IDE drives for data. Everything is working fine except that when I copy files to the box from a Windows XP box the

Re: Writes to samba server very, very slow

2005-07-21 Thread Karsten McMinn
On 7/19/05, Gary Clemans-Gibbon <[EMAIL PROTECTED]> wrote: > Forgot about the /dev/null idea. interesting result. I scp'd a 10 Mb > file from my gentoo box and it completed fast in a few seconds - speed > 3.3 Mb/s. Not great but faster than the other experiences. > > I then did the same with a 2.5

Re: Writes to samba server very, very slow

2005-07-20 Thread Hannu Pysäys
On Tue, 19 Jul 2005, Gary Clemans-Gibbon wrote: > Darren Tucker wrote: >> Gary Clemans-Gibbon wrote: >> >>> Also I have just grabbed the stable branch from cvs and am running stable >>> GENERIC and still doesn't fix it. Just a recap - the problem is not just >>> samba writes to either of the data

Re: Writes to samba server very, very slow

2005-07-20 Thread Alexander Bochmann
Hi, ...on Tue, Jul 19, 2005 at 12:35:37PM -0400, Michael Shalayeff wrote: > Making, drinking tea and reading an opus magnum from Alexander Bochmann: > > Just to drop this in again - at least here, writing from > > an OS X (10.2 or 10.3) system to a Samba 2 server is > > abysmally slow up to

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Darren Tucker wrote: Gary Clemans-Gibbon wrote: Also I have just grabbed the stable branch from cvs and am running stable GENERIC and still doesn't fix it. Just a recap - the problem is not just samba writes to either of the data disks from the network via samba or scp are painfully slow. Rea

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Darren Tucker wrote: Gary Clemans-Gibbon wrote: Also I have just grabbed the stable branch from cvs and am running stable GENERIC and still doesn't fix it. Just a recap - the problem is not just samba writes to either of the data disks from the network via samba or scp are painfully slow. Rea

Re: Writes to samba server very, very slow

2005-07-19 Thread Darren Tucker
Gary Clemans-Gibbon wrote: Also I have just grabbed the stable branch from cvs and am running stable GENERIC and still doesn't fix it. Just a recap - the problem is not just samba writes to either of the data disks from the network via samba or scp are painfully slow. Reads from the box to the

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
John Brooks wrote: How about a nic from a different mfr? Using another good 'dc' nic doesn't rule out a basic hardware incompatibility related directly to that brand of nic card coupled with your other hardware. JB . Even though it worked fine with RH7.3 a three + year old OS ? I've

Re: Writes to samba server very, very slow - more info

2005-07-19 Thread Steve Shockley
Gary Clemans-Gibbon wrote: > I've tried a couple of things. Firstly I swapped out the NIC for a > different brand, no change. Writes god-awful slow, reads nice and zippy. When you swapped out the NIC, did you try a non-dc NIC? Maybe a different slot? > $ netstat -in > dc0 1500 192.168.20/ 1

Re: Writes to samba server very, very slow

2005-07-19 Thread John Brooks
> > How about a nic from a different mfr? Using another good 'dc' nic doesn't > > rule out a basic hardware incompatibility related directly to that brand > > of nic card coupled with your other hardware. > > > > JB > > > > . > > > > Even though it worked fine with RH7.3 a three + year old OS ? I

Re: Writes to samba server very, very slow

2005-07-19 Thread John Brooks
> > Sounds like a bad nic. If you have a spare, you might try > swapping with it. > > > > Also, what's the other machine and what is it running? > > > > The NIC is fine, and yes I swapped it out early on as well as the cable > and the port on the switch. I've also tried a crossover cable. I'v

Re: Writes to samba server very, very slow

2005-07-19 Thread Brad
On Tue, Jul 19, 2005 at 09:50:03PM -0400, Don Koch wrote: > [EMAIL PROTECTED] said: > > I heeded your words of wisdom and after some rummaging I found a crossover > > cable. Hooked it up the same winXP box direct and the exact same result. > > Sounds like a bad nic. If you have a spare, you mi

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Don Koch wrote: [EMAIL PROTECTED] said: I heeded your words of wisdom and after some rummaging I found a crossover cable. Hooked it up the same winXP box direct and the exact same result. Sounds like a bad nic. If you have a spare, you might try swapping with it. Also, what's the other

Re: Writes to samba server very, very slow

2005-07-19 Thread Don Koch
[EMAIL PROTECTED] said: > I heeded your words of wisdom and after some rummaging I found a crossover > cable. Hooked it up the same winXP box direct and the exact same result. Sounds like a bad nic. If you have a spare, you might try swapping with it. Also, what's the other machine and what i

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Tim Hammerquist wrote: Gary Clemans-Gibbon wrote: Yes, I've tried different cables and different ports on the switch. This hardware has all been used before together. I cycled the power to the switch (can't find a reset button) and no change. Via samba or SCP it takes 7 minutes to write a file

Re: Writes to samba server very, very slow

2005-07-19 Thread Tim Hammerquist
Gary Clemans-Gibbon wrote: > Yes, I've tried different cables and different ports on the switch. > This hardware has all been used before together. I cycled the power to > the switch (can't find a reset button) and no change. Via samba or SCP > it takes 7 minutes to write a file to the server and 1

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Avtar Gill wrote: Stephen Marley wrote: Have you tried a crossover cable, bypassing the switch? Words of wisdom right there. I would definitely try a crossover cable between the OpenBSD server and your client machine. That will show you whether the problem lies with Samba or elsewhere.

Re: Writes to samba server very, very slow

2005-07-19 Thread Avtar Gill
Stephen Marley wrote: Have you tried a crossover cable, bypassing the switch? Words of wisdom right there. I would definitely try a crossover cable between the OpenBSD server and your client machine. That will show you whether the problem lies with Samba or elsewhere. I remember experienc

Re: Writes to samba server very, very slow

2005-07-19 Thread Stuart Henderson
--On 19 July 2005 10:46 -0500, Daniel Ramaley wrote: I've had this problem before. Other protocols work OK (not great, but OK), but Samba is gets modem speeds on a fast ethernet connection. I've had poor speeds samba->windows before and sometimes been able to fix it by just disabling and re-e

Re: Writes to samba server very, very slow

2005-07-19 Thread Stephen Marley
On Tue, Jul 19, 2005 at 02:57:33PM -0700, Gary Clemans-Gibbon wrote: > Yes, I've tried different cables and different ports on the switch. This > hardware has all been used before together. I cycled the power to the > switch (can't find a reset button) and no change. Via samba or SCP it > takes

Re: Writes to samba server very, very slow

2005-07-19 Thread Daniel Ramaley
I've had this problem before. Other protocols work OK (not great, but OK), but Samba is gets modem speeds on a fast ethernet connection. I've had some success in the past by manually specifying the network speed and duplexing. See "man hostname.if" for info on how to do that (pay particular att

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Stephen Marley wrote: On Tue, Jul 19, 2005 at 01:28:17PM -0700, Gary Clemans-Gibbon wrote: A little bit more info, i ran the following... . $ ifconfig -m dc0 dc0: flags=8843 mtu 1500 address: 00:50:bf:9c:62:e4 media: Ethernet autoselect (100baseTX full-duplex) stat

Re: Writes to samba server very, very slow

2005-07-19 Thread Karsten McMinn
On 7/19/05, Stephen Marley <[EMAIL PROTECTED]> wrote: > On Tue, Jul 19, 2005 at 01:28:17PM -0700, Gary Clemans-Gibbon wrote: > > A little bit more info, > > > > i ran the following... > > snip dont forget to use netstat -i (-e on windows) to look for errors on the line, which would be indicative o

Re: Writes to samba server very, very slow

2005-07-19 Thread Stephen Marley
On Tue, Jul 19, 2005 at 01:28:17PM -0700, Gary Clemans-Gibbon wrote: > A little bit more info, > > i ran the following... > > > > . > > > $ ifconfig -m dc0 > > dc0: flags=8843 mtu 1500 > address: 00:50:bf:9c:62:e4 > media: Ethernet autoselect (100baseTX full-duplex) > sta

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Garance A Drosihn wrote: At 11:15 PM -0700 7/18/05, Gary Clemans-Gibbon wrote: Thanks David, I just tried that line but it seems to be the same or if anything it seems even slower. I missed the start of this thread, but make sure that you do not have a duplex-mismatch with your ethernet car

Re: Writes to samba server very, very slow

2005-07-19 Thread Michael Shalayeff
Making, drinking tea and reading an opus magnum from Alexander Bochmann: > ...on Tue, Jul 19, 2005 at 12:56:03AM -0700, Tim Hammerquist wrote: > > > I've seen this same phenomenon when copying to from my OSX Powerbook and > > my fileserver (running both FreeBSD 5 and Gentoo Linux), with the OSX

Re: Writes to samba server very, very slow

2005-07-19 Thread Garance A Drosihn
At 11:15 PM -0700 7/18/05, Gary Clemans-Gibbon wrote: Thanks David, I just tried that line but it seems to be the same or if anything it seems even slower. I missed the start of this thread, but make sure that you do not have a duplex-mismatch with your ethernet cards. You want to be sure you

Re: Writes to samba server very, very slow

2005-07-19 Thread Alexander Bochmann
...on Tue, Jul 19, 2005 at 12:56:03AM -0700, Tim Hammerquist wrote: > I've seen this same phenomenon when copying to from my OSX Powerbook and > my fileserver (running both FreeBSD 5 and Gentoo Linux), with the OSX > acting as samba client. Just to drop this in again - at least here, writing f

Re: Writes to samba server very, very slow

2005-07-19 Thread Nick Holland
On Tue, Jul 19, 2005 at 02:34:04PM +0200, Michael Hamerski wrote: > the FAQ which you refer to mentions 1M per 1G of storage, so that's not > really 1G of RAM for this system, is it? or is there a reason I'm missing? no...256M would in theory do it (assuming nothing bigger than around 200G in on

Re: Writes to samba server very, very slow

2005-07-19 Thread Steve Williams
Marius Van Deventer - Umzimkulu wrote: Or you could disable apm0 and see if that helps. -Original Message- From: David Gwynne [mailto:[EMAIL PROTECTED] Sent: 19 July 2005 01:57 PM To: Gary Clemans-Gibbon Cc: misc@openbsd.org Subject: Re: Writes to samba server very, very slow

Re: Writes to samba server very, very slow

2005-07-19 Thread Henning Brauer
* Michael Hamerski <[EMAIL PROTECTED]> [2005-07-19 14:57]: > I am curious as I have a number of lower-end file-serving systems with > 200G - 500G and usually 256M RAM and have never been bit by a fsck > slowdown, even rebuilding raidframe parity is tolerable. Granted I have > partitions usually

Re: Writes to samba server very, very slow

2005-07-19 Thread Michael Hamerski
Nick Holland wrote: Gary Clemans-Gibbon wrote: Hi All, I just built a OpenBSD 3.7 samba file server for my home lan. It's a P3 500, 128mb RAM, with a 2 gig IDE HDD for the OS and two x Maxtor 200 GB IDE drives for data. whoa. no where near enough RAM. Trip over the power cord, you will end u

Re: Writes to samba server very, very slow

2005-07-19 Thread Marius Van Deventer - Umzimkulu
Or you could disable apm0 and see if that helps. > -Original Message- > From: David Gwynne [mailto:[EMAIL PROTECTED] > Sent: 19 July 2005 01:57 PM > To: Gary Clemans-Gibbon > Cc: misc@openbsd.org > Subject: Re: Writes to samba server very, very slow > > >

Re: Writes to samba server very, very slow

2005-07-19 Thread David Gwynne
From: "Gary Clemans-Gibbon" <[EMAIL PROTECTED]> Thanks for your reply Tim. If anything it makes me feel worse. I was hoping it was something easily fixed. I just tried transferring a 50 Mb file to the OBSD samba box from win using SCP. Again very slow writes but much faster reads. The 50 Mb f

Re: Writes to samba server very, very slow

2005-07-19 Thread Nick Holland
Gary Clemans-Gibbon wrote: > Hi All, > > I just built a OpenBSD 3.7 samba file server for my home lan. It's a P3 > 500, 128mb RAM, with a 2 gig IDE HDD for the OS and two x Maxtor 200 GB > IDE drives for data. whoa. no where near enough RAM. Trip over the power cord, you will end up swapping dur

Re: Writes to samba server very, very slow

2005-07-19 Thread Tony
file locally? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Gary Clemans-Gibbon Sent: Tuesday, July 19, 2005 3:45 AM To: [EMAIL PROTECTED] Cc: misc@openbsd.org Subject: Re: Writes to samba server very, very slow Thanks for your reply Tim. If anything it

Re: Writes to samba server very, very slow

2005-07-19 Thread Tim Hammerquist
Gary Clemans-Gibbon wrote: > Thanks for your reply Tim. If anything it makes me feel worse. I was > hoping it was something easily fixed. > > I just tried transferring a 50 Mb file to the OBSD samba box from win > using SCP. Again very slow writes but much faster reads. The 50 Mb > file took about

Re: Writes to samba server very, very slow

2005-07-19 Thread Gary Clemans-Gibbon
Thanks for your reply Tim. If anything it makes me feel worse. I was hoping it was something easily fixed. I just tried transferring a 50 Mb file to the OBSD samba box from win using SCP. Again very slow writes but much faster reads. The 50 Mb file took about 7 mins to transfer to the OBSD box

Re: Writes to samba server very, very slow

2005-07-19 Thread Tim Hammerquist
Gary Clemans-Gibbon wrote: > David Gwynne wrote: > > Gary Clemans-Gibbon wrote: > > > Everything is working fine except that when I copy files to the > > > box from a Windows XP box the transfers are very slow, like > > > 9 minutes for a 48 Mb file. Copying the same file back to the win > > > box

Re: Writes to samba server very, very slow - more info

2005-07-19 Thread Gary Clemans-Gibbon
This is really puzzling me, please someone help me out. I've tried a couple of things. Firstly I swapped out the NIC for a different brand, no change. Writes god-awful slow, reads nice and zippy. I did some googling and tried some things. Here are the results of ifconfig -a netstat -in netsta

Re: Writes to samba server very, very slow

2005-07-18 Thread Gary Clemans-Gibbon
Thanks David, I just tried that line but it seems to be the same or if anything it seems even slower. Gary David Gwynne wrote: I would suggest looking at the socket options parameter in /etc/samba/ smb.conf. I have the following in my smb.conf and transfer speeds seem to perform a lot bett

Writes to samba server very, very slow

2005-07-18 Thread Gary Clemans-Gibbon
Hi All, I just built a OpenBSD 3.7 samba file server for my home lan. It's a P3 500, 128mb RAM, with a 2 gig IDE HDD for the OS and two x Maxtor 200 GB IDE drives for data. Everything is working fine except that when I copy files to the box from a Windows XP box the transfers are very slow, li