RE: [Samba] Samba very, VERY slow ...

2003-10-20 Thread David Brodbeck


 -Original Message-
 From: John H Terpstra [mailto:[EMAIL PROTECTED]

 Eric,
 
 Suggest you replace the ethernet card and/or the network cable.
 Sounds like a hardware issue.

Mismatched duplex settings (full vs. half) can also do this.  Not all
hubs/switches auto-detect the ethernet card's setting properly.

Classic symptoms of a duplex mismatch are that pings and small transfers
to/from the machine work fine, but large transfers (with FTP, samba, or
anything else) bog down badly.
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba very, VERY slow ...

2003-10-20 Thread John H Terpstra
On Mon, 20 Oct 2003, David Brodbeck wrote:



  -Original Message-
  From: John H Terpstra [mailto:[EMAIL PROTECTED]

  Eric,
 
  Suggest you replace the ethernet card and/or the network cable.
  Sounds like a hardware issue.

 Mismatched duplex settings (full vs. half) can also do this.  Not all
 hubs/switches auto-detect the ethernet card's setting properly.

 Classic symptoms of a duplex mismatch are that pings and small transfers
 to/from the machine work fine, but large transfers (with FTP, samba, or
 anything else) bog down badly.

Oops. Correct. Sorry for leaving that out.

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba very, VERY slow ...

2003-10-20 Thread Eric Maisonobe
  Eric,
 
  Suggest you replace the ethernet card and/or the network cable.
  Sounds like a hardware issue.

 Mismatched duplex settings (full vs. half) can also do this.  Not all
 hubs/switches auto-detect the ethernet card's setting properly.
[...]

Thanks for your help !
I've found a solution to my problem :
I've added the option :

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192

instead of only :

socket options = TCP_NODELAY

Now, the clients open the appli under 4 seconds !!! (instead of 40 before!).
And moreover : i think they open under 4 seconds because they are slow and
they have to analyse the data sended by samba. Samba should bring them the
data under a much more short delay !!!

--
oO--Oo
  Eric MAISONOBE
  [EMAIL PROTECTED]
oO--Oo


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


Re: [Samba] Samba very, VERY slow ...

2003-10-20 Thread John H Terpstra
On Mon, 20 Oct 2003, Eric Maisonobe wrote:

   Eric,
  
   Suggest you replace the ethernet card and/or the network cable.
   Sounds like a hardware issue.
 
  Mismatched duplex settings (full vs. half) can also do this.  Not all
  hubs/switches auto-detect the ethernet card's setting properly.
 [...]

 Thanks for your help !
 I've found a solution to my problem :
 I've added the option :

 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=8192 SO_SNDBUF=8192

What is your platform and kernel version? It will help to know that so I
can document this.

- John T.


 instead of only :

 socket options = TCP_NODELAY

 Now, the clients open the appli under 4 seconds !!! (instead of 40 before!).
 And moreover : i think they open under 4 seconds because they are slow and
 they have to analyse the data sended by samba. Samba should bring them the
 data under a much more short delay !!!

 --
 oO--Oo
   Eric MAISONOBE
   [EMAIL PROTECTED]
 oO--Oo




-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba very, VERY slow ...

2003-10-18 Thread Joseph Healy
Hi,

We had similar, very baffleing symptoms with MYOB Premier opening and
accessing it's datafiles.

operations on the file would take between 40 and 45 seconds.

It turned out that it was a printer monitor program running on the
clients causing the problems. Looking at the logs, we saw them coming
through with pauses of about 1 second between groups.

Stopping the monitor software resulted in the networks access at normal
(quick) speed. Restarting the program caused the speed to slow down
again. The printer was a cannon lbp810 and the relevant task was
something like CAPON (not sure on spelling). The monitor software
displayed a printing now dialog on the client when they printed. 

We only discovered this by starting with a clean install of windows and
trying the app at every step of the installation of other software
process. (had to do this many times)

Moral of the story, check everything (other software included)!

Hope it is not something like this (it will be painful to find)

Joe Healy

On Fri, Oct 17, 2003 at 10:59:35AM +0200, Eric Maisonobe wrote:
 Hello !
 
 I've installed serveral servers under Linux in my association with samba on
 it, without any problem.
 
 But, for the latest application we need to use, samba has to share about 800
 borland data files.
 
 All goes right, but the systeme (P3-800Mhz-256Mo RAM for 8 users) is very,
 VERY slow (about 40 second to open the application).
 
 I've take a look at the system use, even when a client open a session, and :
 - the processor is use about ... 3% (97%free) !!!
 - Mem : 23Mo used...233Mo free !!!
 - average load : about 0,01 !!!
 
 I've putlog level = 0, correct wins server adress, socket options =
 TCP_NODELAY
 
 and my share is :
 [c]
comment = Disk C
path = /home/c
browseable = yes
admin users = guest nobody # I know, it's bad ;-)) but requiered by the
 appli
writable = yes
public = yes
create mode = 777
 
 
 Any help would be welcome !
 
 Eric MAISONOBE
 
 
 -- 
 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


Re: [Samba] Samba very, VERY slow ...

2003-10-18 Thread John H Terpstra
Joseph,

I'd like to thank you for your diligent attention to detail and
particularly for reporting your findings. This is a real gem of a
contribution that may save someone else many days of frustration.

Cheers,
John T.


On Wed, 12 May 2004, Joseph Healy wrote:

 Hi,

 We had similar, very baffleing symptoms with MYOB Premier opening and
 accessing it's datafiles.

 operations on the file would take between 40 and 45 seconds.

 It turned out that it was a printer monitor program running on the
 clients causing the problems. Looking at the logs, we saw them coming
 through with pauses of about 1 second between groups.

 Stopping the monitor software resulted in the networks access at normal
 (quick) speed. Restarting the program caused the speed to slow down
 again. The printer was a cannon lbp810 and the relevant task was
 something like CAPON (not sure on spelling). The monitor software
 displayed a printing now dialog on the client when they printed.

 We only discovered this by starting with a clean install of windows and
 trying the app at every step of the installation of other software
 process. (had to do this many times)

 Moral of the story, check everything (other software included)!

 Hope it is not something like this (it will be painful to find)

 Joe Healy

 On Fri, Oct 17, 2003 at 10:59:35AM +0200, Eric Maisonobe wrote:
  Hello !
 
  I've installed serveral servers under Linux in my association with samba on
  it, without any problem.
 
  But, for the latest application we need to use, samba has to share about 800
  borland data files.
 
  All goes right, but the systeme (P3-800Mhz-256Mo RAM for 8 users) is very,
  VERY slow (about 40 second to open the application).
 
  I've take a look at the system use, even when a client open a session, and :
  - the processor is use about ... 3% (97%free) !!!
  - Mem : 23Mo used...233Mo free !!!
  - average load : about 0,01 !!!
 
  I've putlog level = 0, correct wins server adress, socket options =
  TCP_NODELAY
 
  and my share is :
  [c]
 comment = Disk C
 path = /home/c
 browseable = yes
 admin users = guest nobody # I know, it's bad ;-)) but requiered by the
  appli
 writable = yes
 public = yes
 create mode = 777
 
 
  Any help would be welcome !
 
  Eric MAISONOBE
 
 
  --
  To unsubscribe from this list go to the following URL and read the
  instructions:  http://lists.samba.org/mailman/listinfo/samba


-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Samba very, VERY slow ...

2003-10-17 Thread Eric Maisonobe
Hello !

I've installed serveral servers under Linux in my association with samba on
it, without any problem.

But, for the latest application we need to use, samba has to share about 800
borland data files.

All goes right, but the systeme (P3-800Mhz-256Mo RAM for 8 users) is very,
VERY slow (about 40 second to open the application).

I've take a look at the system use, even when a client open a session, and :
- the processor is use about ... 3% (97%free) !!!
- Mem : 23Mo used...233Mo free !!!
- average load : about 0,01 !!!

I've putlog level = 0, correct wins server adress, socket options =
TCP_NODELAY

and my share is :
[c]
   comment = Disk C
   path = /home/c
   browseable = yes
   admin users = guest nobody # I know, it's bad ;-)) but requiered by the
appli
   writable = yes
   public = yes
   create mode = 777


Any help would be welcome !

Eric MAISONOBE


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


RE: [Samba] Samba very, VERY slow ...

2003-10-17 Thread Ow Mun Heng
All goes right, but the systeme (P3-800Mhz-256Mo RAM for 8 users) is very,
VERY slow (about 40 second to open the application).

Stab in the dark - Could it be because of network bottleneck??

I'm running on a 10MB/s network, it's also slow to load files.. but maybe
not as slow as 40seconds. How big are the files? Maybe you can perform a
rough estimate of the network transfer speed. (not sure how though) :(



Cheers, .^.
Mun Heng, Ow/V\
H/M Engineering   /(   )\
Western Digital M'sia  ^^-^^
DID : 03-7870 5168  The Linux Advocate
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


RE: [Samba] Samba very, VERY slow ...

2003-10-17 Thread Thomas Rankin
On Fri, 17 Oct 2003, Ow Mun Heng wrote:

 All goes right, but the systeme (P3-800Mhz-256Mo RAM for 8 users) is very,
 VERY slow (about 40 second to open the application).

 Stab in the dark - Could it be because of network bottleneck??

 I'm running on a 10MB/s network, it's also slow to load files.. but maybe
 not as slow as 40seconds. How big are the files? Maybe you can perform a
 rough estimate of the network transfer speed. (not sure how though) :(

I had that on one machine with 2.2.6 (I think) coinsodentally that one was
a P3-866-256Mb. Ran fine once it had started and by the time I had time to
look into what was happenening I was upgrading the machines to 3.0.0
anyway. (which btw starts very nearly instantly)


 Cheers, .^.
 Mun Heng, Ow/V\
 H/M Engineering   /(   )\
 Western Digital M'sia  ^^-^^
 DID : 03-7870 5168  The Linux Advocate
 --
 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


Re: [Samba] Samba very, VERY slow ...

2003-10-17 Thread John H Terpstra
Eric,

Suggest you replace the ethernet card and/or the network cable.
Sounds like a hardware issue.

- John T.

On Fri, 17 Oct 2003, Eric Maisonobe wrote:

 Hello !

 I've installed serveral servers under Linux in my association with samba on
 it, without any problem.

 But, for the latest application we need to use, samba has to share about 800
 borland data files.

 All goes right, but the systeme (P3-800Mhz-256Mo RAM for 8 users) is very,
 VERY slow (about 40 second to open the application).

 I've take a look at the system use, even when a client open a session, and :
 - the processor is use about ... 3% (97%free) !!!
 - Mem : 23Mo used...233Mo free !!!
 - average load : about 0,01 !!!

 I've putlog level = 0, correct wins server adress, socket options =
 TCP_NODELAY

 and my share is :
 [c]
comment = Disk C
path = /home/c
browseable = yes
admin users = guest nobody # I know, it's bad ;-)) but requiered by the
 appli
writable = yes
public = yes
create mode = 777


 Any help would be welcome !

 Eric MAISONOBE




-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba