[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <93655eb70905170527t490653dge6e25a9e3724a918@mail.gmail.com>
Date: Sun, 17 May 2009 17:57:39 +0530
From: Satish Eerpini <eerpini@...il.com>
To: Wu Fengguang <fengguang.wu@...el.com>
Cc: Rik van Riel <riel@...hat.com>, Ray Lee <ray-lk@...rabbit.org>,
Christoph Lameter <cl@...ux-foundation.org>,
linux-kernel <linux-kernel@...r.kernel.org>
Subject: Re: unresponsiveness on linux desktop during file copy
> The clear command can be a big clue. Can you try these commands in the
> terminal and show us the two log files?
>
> strace -o all.log -T clear
> strace -o sum.log -c clear
>
ok here go the logs :
"all.log"
execve("/usr/bin/clear", ["clear"], [/* 47 vars */]) = 0 <0.000432>
brk(0) = 0x981e000 <0.000018>
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
directory) <0.000026>
open("/etc/ld.so.cache", O_RDONLY) = 3 <0.000027>
fstat64(3, {st_mode=S_IFREG|0644, st_size=140850, ...}) = 0 <0.000019>
mmap2(NULL, 140850, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f01000 <0.000023>
close(3) = 0 <0.000018>
open("/lib/libtinfo.so.5", O_RDONLY) = 3 <0.000043>
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\332\355\0074\0\0\0D"...,
512) = 512 <0.000028>
fstat64(3, {st_mode=S_IFREG|0755, st_size=98036, ...}) = 0 <0.000020>
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f00000 <0.000021>
mmap2(0x7ed8000, 99928, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ed8000 <0.000023>
mmap2(0x7eee000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0x7eee000 <0.000030>
close(3) = 0 <0.000018>
open("/lib/libc.so.6", O_RDONLY) = 3 <0.000029>
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@xk\0004\0\0\0P"...,
512) = 512 <0.000021>
fstat64(3, {st_mode=S_IFREG|0755, st_size=1809672, ...}) = 0 <0.000019>
mmap2(0x6a1000, 1521232, PROT_READ|PROT_EXEC,
MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x6a1000 <0.000022>
mmap2(0x80f000, 12288, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x16e) = 0x80f000 <0.000032>
mmap2(0x812000, 9808, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x812000 <0.000026>
close(3) = 0 <0.000018>
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7eff000 <0.000024>
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7eff6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0 <0.000019>
mprotect(0x80f000, 8192, PROT_READ) = 0 <0.000026>
mprotect(0x69d000, 4096, PROT_READ) = 0 <0.000023>
munmap(0xb7f01000, 140850) = 0 <0.000032>
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0 <0.000023>
brk(0) = 0x981e000 <0.000019>
brk(0x983f000) = 0x983f000 <0.000022>
stat64("/root/.terminfo", 0xbfd20f24) = -1 ENOENT (No such file or
directory) <0.000027>
stat64("/etc/terminfo", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
<0.000025>
access("/etc/terminfo/x/xterm", R_OK) = -1 ENOENT (No such file or
directory) <0.000026>
stat64("/usr/share/terminfo", {st_mode=S_IFDIR|0755, st_size=4096,
...}) = 0 <0.000026>
access("/usr/share/terminfo/x/xterm", R_OK) = 0 <0.000028>
open("/usr/share/terminfo/x/xterm", O_RDONLY|O_LARGEFILE) = 3 <0.000031>
read(3, "\32\0010\0&\0\17\0\235\1F\5xterm|xterm terminal "..., 4097) =
3220 <0.000035>
close(3) = 0 <0.000022>
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0 <0.000025>
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0 <0.000020>
ioctl(1, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo
...}) = 0 <0.000021>
ioctl(1, TIOCGWINSZ, {ws_row=24, ws_col=80, ws_xpixel=0, ws_ypixel=0})
= 0 <0.000020>
fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 2), ...}) = 0 <0.000020>
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7f23000 <0.000025>
write(1, "\33[H\33[2J"..., 7) = 7 <0.000027>
exit_group(0) = ?
"sum.log"
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
93.27 0.000485 485 1 execve
6.73 0.000035 7 5 ioctl
0.00 0.000000 0 3 read
0.00 0.000000 0 1 write
0.00 0.000000 0 4 open
0.00 0.000000 0 4 close
0.00 0.000000 0 3 2 access
0.00 0.000000 0 3 brk
0.00 0.000000 0 1 munmap
0.00 0.000000 0 2 mprotect
0.00 0.000000 0 9 mmap2
0.00 0.000000 0 3 1 stat64
0.00 0.000000 0 4 fstat64
0.00 0.000000 0 1 set_thread_area
------ ----------- ----------- --------- --------- ----------------
100.00 0.000520 44 3 total
I have also attached the logs, in case that is more useful .
Cheers
Satish
--
http://satish.playdrupal.com
Download attachment "all.log" of type "application/octet-stream" (3614 bytes)
Download attachment "sum.log" of type "application/octet-stream" (1065 bytes)
Powered by blists - more mailing lists