public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: khromy@lnuxlab.ath.cx (khromy)
To: Denis Vlasenko <vda@port.imtp.ilyichevsk.odessa.ua>,
	linux-kernel@vger.kernel.org, ext3-users@redhat.com
Subject: Re: sync slowness. ext3 on VIA vt82c686b
Date: Wed, 3 Jul 2002 01:59:30 -0400	[thread overview]
Message-ID: <20020703055930.GA3630@lnuxlab.ath.cx> (raw)
In-Reply-To: <200207030526.g635Q6T25581@Port.imtp.ilyichevsk.odessa.ua>

On Wed, Jul 03, 2002 at 08:25:45AM -0200, Denis Vlasenko wrote:
> On 3 July 2002 00:20, khromy wrote:
> > When I copy a file(13Megs) from /home/ to /tmp/, sync takes almost 2
> > minutes. When I copy the same file to /usr/local/, sync returns almost
> > right away.  Both filesystems are ext3 and are on the same harddrive.  When
> > sync is running, the harddrive light stays on but I don't hear it doing
> > anything. dmesg doesn't show any errors either. Below is the `time` output
> > for each command.  If you need anymore information  let me know..
> 
> Can be useful:
> * strace -r sync
> * ksymoopsed SysRq-T output (sync part only)

*** strace -r sync
     0.000000 execve("/bin/sync", ["sync"], [/* 24 vars */]) = 0
     0.000260 uname({sys="Linux", node="dev-01", ...}) = 0
     0.000361 brk(0)                    = 0x804a308
     0.000067 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40014000
     0.000105 open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
     0.000108 open("/etc/ld.so.cache", O_RDONLY) = 3
     0.000064 fstat64(3, {st_mode=S_IFREG|0644, st_size=24001, ...}) = 0
     0.000111 old_mmap(NULL, 24001, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
     0.000068 close(3)                  = 0
     0.000065 open("/lib/libc.so.6", O_RDONLY) = 3
     0.000086 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\24\222"..., 1024) = 1024
     0.000120 fstat64(3, {st_mode=S_IFREG|0755, st_size=1149584, ...}) = 0
     0.000087 old_mmap(NULL, 1162080, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001b000
     0.000068 mprotect(0x4012d000, 39776, PROT_NONE) = 0
     0.000056 old_mmap(0x4012d000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x112000) = 0x4012d000
     0.000098 old_mmap(0x40133000, 15200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40133000
     0.000072 close(3)                  = 0
     0.000786 munmap(0x40015000, 24001) = 0
     0.000176 brk(0)                    = 0x804a308
     0.000049 brk(0x804a330)            = 0x804a330
     0.000051 brk(0x804b000)            = 0x804b000
     0.000092 sync()                    = 0
    92.243322 _exit(0)                  = ?

*** ksymoopsed SysRq-T
sync          D 00200034     0  1200   1199                     (NOTLB)
Using defaults from ksymoops -t elf32-i386 -a i386
Call Trace: [<c01ae4d7>] [<c01ae688>] [<c01aeb40>] [<c01af13a>] [<c01af1f9>]
   [<c014344c>] [<c0143566>] [<c01435bb>] [<c014370a>] [<c01438a7>] [<c014394f>]
   [<c01091c3>]

Proc;  sync

>>EIP; 00200034 Before first symbol   <=====

Trace; c01ae4d7 <__get_request_wait+e7/f0>
Trace; c01ae688 <account_io_start+38/60>
Trace; c01aeb40 <__make_request+1c0/6c0>
Trace; c01af13a <generic_make_request+fa/160>
Trace; c01af1f9 <submit_bh+59/80>
Trace; c014344c <write_locked_buffers+2c/40>
Trace; c0143566 <write_some_buffers+106/130>
Trace; c01435bb <write_unlocked_buffers+2b/40>
Trace; c014370a <sync_buffers+1a/70>
Trace; c01438a7 <fsync_dev+27/b0>
Trace; c014394f <sys_sync+f/20>
Trace; c01091c3 <tracesys+1f/23>

-- 
L1:	khromy		;khromy(at)lnuxlab.ath.cx

      reply	other threads:[~2002-07-03  5:52 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-07-03  2:20 sync slowness. ext3 on VIA vt82c686b khromy
2002-07-03  2:57 ` khromy
2002-07-03  3:24 ` Andrew Morton
2002-07-03  3:35   ` khromy
2002-07-03  3:57     ` Andrew Morton
2002-07-03  4:03       ` khromy
2002-07-03  4:36         ` khromy
2002-07-03 16:29           ` Diego Calleja
2002-07-03 17:25           ` Diego Calleja
2002-07-03 17:43   ` Tomas Szepe
2002-07-03 18:19     ` khromy
2002-07-03 19:05       ` Tomas Szepe
2002-07-03 21:54       ` Rogier Wolff
2002-07-03  9:22 ` Stephen C. Tweedie
2002-07-03  9:40   ` khromy
2002-07-03 10:57     ` Rogier Wolff
2002-07-03 16:38       ` khromy
2002-07-03 11:43     ` Pedro M. Rodrigues
     [not found]     ` <Pine.LNX.4.33.0207031155080.7491-100000@coffee.psychology.mcmaster.ca>
2002-07-03 16:42       ` khromy
2002-07-03 10:25 ` Denis Vlasenko
2002-07-03  5:59   ` khromy [this message]

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=20020703055930.GA3630@lnuxlab.ath.cx \
    --to=khromy@lnuxlab.ath.cx \
    --cc=ext3-users@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vda@port.imtp.ilyichevsk.odessa.ua \
    /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