[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

strange strace output



I've just got a Debian/SPARC machine running Stable and kernel 2.4.18.  It 
takes about 6 seconds for a simple ssh login, which seems too long, here's 
the /proc/cpuinfo:
cpu             : TI UltraSparc II  (BlackBird)
fpu             : UltraSparc II integrated FPU
promlib         : Version 3 Revision 23
prom            : 3.23.1
type            : sun4u
ncpus probed    : 2
ncpus active    : 1
Cpu0Bogo        : 878.18
Cpu0ClkTck      : 000000001a3a4b6f
MMU Type        : Spitfire

Now I did a strace -t of the ssh login, and it seems that the privsep process 
is having a big delay on the brk() system call (or in the malloc library 
related to it).  Is this correct?

Also ltrace appears not to be available for SPARC, is this correct?

12:46:55 time([1047383215])             = 1047383215
12:46:55 getpid()                       = 3738
12:46:55 getpid()                       = 3738
12:46:58 select(5, [4], NULL, NULL, NULL) = 1 (in [4])
12:46:58 read(4, "\0\0\1\234\7 \0\0\1\217T\307\355R\365 \274\360\377\376"..., 
8192) = 416
12:46:58 brk(0x78000)                   = 0x78000
12:46:58 brk(0x7a000)                   = 0x7a000
12:47:01 write(3, "\0\0\0\35\4", 5)     = 5
12:47:01 write(3, "\0\0\0\0\0\0\0\24\216c\324\34\227\214{\236\306\347\327"..., 
28) = 28
12:47:01 read(3, "\0\0\0\224", 4) = 4
12:47:01 read(3, "\5", 148)             = 1

PS  Please CC me on any replies as I'm not subscribed to this list.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Reply to: