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

bash performance



hey,

This is a fresh squeeze install on T5220 (same for the laptop I'm comparing with). Whole machine seems strangely slow but one thing I can point out for sure is bash. I've been debugging this issue for a week now (even comparing strace -ttt time outputs with random intel machine). Does this seem strange to anyone else?:

randomx86laptop$ time (VAR=0; for i in `seq 0 99999`; do let VAR=VAR+i; done)
real    0m1.235s
user    0m1.212s
sys     0m0.036s

niagara2$ time (VAR=0; for i in `seq 0 99999`; do let VAR=VAR+i; done)
real    0m11.193s
user    0m10.777s
sys     0m0.388s

I first noticed this with bash_completion - every new bash instance takes 2-3 seconds to start.

Anyone have an idea whats going on?


-- 
Thanks,
tarko


Reply to: