FW: Speed comp. TNG & 2.2.alpha (fwd)

Andrew Bartlett abartlet at pcug.org.au
Thu Feb 22 13:10:28 GMT 2001


For some reason I implemented TNG in a production environment (I needed
user-level security for Win9X shares), and noticed an immediate slowdown
for logons and I had reports that logons where timing out, with users
unable to login before the timeout - even pressing retry for 45min!

These logins are from NT4, with a logon applet that sends 2 incorrect
passwords (local user, new user with no password) before the final
password from the user.  When the system is not in use a logon (with the
applet) took 30secs with TNG compared with immediate on 2.2

Other logons are from Win9X, as standard domain logons.

I ended up having to move back to 2.2, but I should note the mitigating
factors:  
I enabled and used utmp, syslog and quotas (all of which I am sure are
entirely untested).  

My system in RedHat 6.2 on a p166, on a separate subnet from the
clients, with a firewall in between.   

Just another data-point,
Andrew Bartlett

Luke Kenneth Casson Leighton wrote:
> 
> raoul,
> 
> i am fascinated.
> 
> did you set any debug log levels?  remember: if you set log level to 100
> on TNG, expect a performance hit of about a factor of ten or 20!
> 
> did you compile TNG with dynamic libraries or static?  (it's a ./configure
> option, the default is dynamic.  it affects the binary size - vastly
> smaller: smbd is... urr... 417k in TNG latest cvs instead of.... urr...
> 2meg?  - but has an overhead of 15% roughly on the actual function calls
> etc. and also on the libaries all being PIC - position independent code)
> 
> another recommended test:
> 
> how long does a domain logon take?
> 
> important things to do:
> 
> reboot the client in between tests.  wait for the dialog box to come up.
> wait for the client disk to stop spinning.  wait another 20 seconds.
> _then_ log in, starting the timer from then.
> 
> include downloading your user-profile, if you have one.  do not modify the
> desktop as you log out.
> 
> run this twice (each machine) to make sure.
> 
> many thanks raoul,
> 
> luke
> 
> -----Original Message-----
> From: tng-users-bounce at lists.dcerpc.org
> [mailto:tng-users-bounce at lists.dcerpc.org]On Behalf Of Raoul Schroeder
> Sent: 21 February 2001 15:54
> To: users tng
> Subject: Speed comp. TNG & 2.2.alpha
> 
> Just in case anyone was interested, I compared the speed of TNG and
> 2.2.alpha...
> This was the setup:
> FreeBSD Release 4.1
> TNG 2.6 good  vs. 2.2.alpha from CVS
> Pentium III 750 with 128MB and 2 Ultra-2LD SCSI Harddisks (18 GB each)
> Three shares are set browseable.
> Domain logons are enabled. (Win2K and WinNT)
> 
> Initial browsing in Windows Explorer (finding drives R:, S:, V:):
> TNG: 0.4 - 0.5 s (is slightly difficult to measure, dunno how much is
> Windows, how much is TNG related)
> 2.2.alpha: around 2 s
> 
> Copying of 100 MB (mixture of small and big files) from the server:
> This was unfortunately mainly limited by the fact that I am sitting on a
> 10 MBit half duplex network, partially switched.
> TNG: 6 minutes
> 2.2.alpha: 9 minutes

-- 
Andrew Bartlett
abartlet at pcug.org.au




More information about the samba-ntdom mailing list