mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Satish Eerpini <eerpini@gmail.com>
To: Wu Fengguang <fengguang.wu@intel.com>
Cc: Rik van Riel <riel@redhat.com>, Ray Lee <ray-lk@madrabbit.org>,
	Christoph Lameter <cl@linux-foundation.org>,
	linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: unresponsiveness on linux desktop during file copy
Date: Sun, 17 May 2009 17:57:39 +0530	[thread overview]
Message-ID: <93655eb70905170527t490653dge6e25a9e3724a918@mail.gmail.com> (raw)
In-Reply-To: <20090517121711.GA3583@localhost>

[-- Attachment #1: Type: text/plain, Size: 5136 bytes --]

> 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

[-- Attachment #2: all.log --]
[-- Type: application/octet-stream, Size: 3614 bytes --]

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)                           = ?

[-- Attachment #3: sum.log --]
[-- Type: application/octet-stream, Size: 1065 bytes --]

% 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

  reply	other threads:[~2009-05-17 12:27 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-15 17:07 Satish Eerpini
2009-05-15 17:12 ` Mark Knecht
     [not found]   ` <93655eb70905151024o634f8432j6c3db85df1f6ddfc@mail.gmail.com>
     [not found]     ` <5bdc1c8b0905151120p5aa58318t1765544fbbb695b2@mail.gmail.com>
2009-05-16  2:38       ` Satish Eerpini
2009-05-16  2:47         ` Mark Knecht
2009-05-16  3:12           ` Satish Eerpini
2009-05-16  3:37             ` Mark Knecht
2009-05-16  6:52               ` Satish Eerpini
2009-05-16 21:11                 ` Mark Knecht
2009-05-17  8:54                 ` Robert Hancock
2009-05-17  9:04                   ` Satish Eerpini
2009-05-17  8:52           ` Robert Hancock
2009-05-15 18:02 ` Ray Lee
2009-05-15 19:33   ` Christoph Lameter
2009-05-16 16:03     ` Ray Lee
2009-05-16 17:38       ` Rik van Riel
2009-05-17  1:19         ` Wu Fengguang
2009-05-17  1:27           ` Satish Eerpini
2009-05-17  2:08             ` Wu Fengguang
2009-05-17  4:30               ` Satish Eerpini
2009-05-17  4:57                 ` Arjan van de Ven
2009-05-17  4:58                 ` Wu Fengguang
2009-05-17  6:18                   ` Satish Eerpini
2009-05-17  9:30                     ` Wu Fengguang
2009-05-17 12:01                       ` Satish Eerpini
2009-05-17 12:17                         ` Wu Fengguang
2009-05-17 12:27                           ` Satish Eerpini [this message]
2009-05-17 12:39                             ` Wu Fengguang
2009-05-17 13:03                               ` Satish Eerpini
2009-05-17 13:11                                 ` Wu Fengguang
2009-05-17 13:43                                   ` Satish Eerpini
2009-05-17 13:14                   ` Michael S. Zick
2009-05-16  2:28   ` Satish Eerpini
2009-05-16 14:25   ` Satish Eerpini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=93655eb70905170527t490653dge6e25a9e3724a918@mail.gmail.com \
    --to=eerpini@gmail.com \
    --cc=cl@linux-foundation.org \
    --cc=fengguang.wu@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ray-lk@madrabbit.org \
    --cc=riel@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®