* slow mount
@ 2003-06-12 14:20 Herbie Hopkins
2003-06-12 14:18 ` Yury Umanets
` (3 more replies)
0 siblings, 4 replies; 13+ messages in thread
From: Herbie Hopkins @ 2003-06-12 14:20 UTC (permalink / raw)
To: reiserfs-list
It seems to take a very long time to mount a large reiserfs filesystem:
$ time mount /home
real 0m17.259s
user 0m0.000s
sys 0m0.000s
$ df -h
Filesystem Size Used Avail Use% Mounted on
[snip]
/dev/hda7 44G 12G 33G 26% /home
is this normal behaviour? as this drastically increases my system statup
time. The same partition formatted to ext3 mounts in less than a second
and this also seems to have no reflection on the amount of data on the
partition as it still takes this long when the filesystem in empty.
Any help would be appretiated, thanks.
Herbie
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: slow mount
2003-06-12 14:20 slow mount Herbie Hopkins
@ 2003-06-12 14:18 ` Yury Umanets
2003-06-12 14:35 ` Alex Zarochentsev
` (2 subsequent siblings)
3 siblings, 0 replies; 13+ messages in thread
From: Yury Umanets @ 2003-06-12 14:18 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: reiserfs-list
Herbie Hopkins wrote:
>It seems to take a very long time to mount a large reiserfs filesystem:
>
> $ time mount /home
>
> real 0m17.259s
> user 0m0.000s
> sys 0m0.000s
>
> $ df -h
>
> Filesystem Size Used Avail Use% Mounted on
> [snip]
> /dev/hda7 44G 12G 33G 26% /home
>
>is this normal behaviour? as this drastically increases my system statup
>time. The same partition formatted to ext3 mounts in less than a second
>and this also seems to have no reflection on the amount of data on the
>partition as it still takes this long when the filesystem in empty.
>
>Any help would be appretiated, thanks.
>Herbie
>
>
>
>
>
Bitmaps are read in mount time. And this realy does not depend on data
amount, only on filesystem size.
--
Yury Umanets
"We're flying high, we're watching the world passes by..."
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: slow mount
2003-06-12 14:20 slow mount Herbie Hopkins
2003-06-12 14:18 ` Yury Umanets
@ 2003-06-12 14:35 ` Alex Zarochentsev
2003-06-12 14:39 ` Chris Mason
2003-06-12 14:46 ` Oleg Drokin
3 siblings, 0 replies; 13+ messages in thread
From: Alex Zarochentsev @ 2003-06-12 14:35 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: reiserfs-list
On Thu, Jun 12, 2003 at 03:20:29PM +0100, Herbie Hopkins wrote:
> It seems to take a very long time to mount a large reiserfs filesystem:
>
> $ time mount /home
>
> real 0m17.259s
> user 0m0.000s
> sys 0m0.000s
>
> $ df -h
>
> Filesystem Size Used Avail Use% Mounted on
> [snip]
> /dev/hda7 44G 12G 33G 26% /home
>
> is this normal behaviour? as this drastically increases my system statup
Yes. It is normal.
There are 44G / 128M ~= 350 bitmap blocks which are read by reiserfs
at mount time.
> time. The same partition formatted to ext3 mounts in less than a second
> and this also seems to have no reflection on the amount of data on the
> partition as it still takes this long when the filesystem in empty.
>
> Any help would be appretiated, thanks.
> Herbie
>
--
Alex.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 14:20 slow mount Herbie Hopkins
2003-06-12 14:18 ` Yury Umanets
2003-06-12 14:35 ` Alex Zarochentsev
@ 2003-06-12 14:39 ` Chris Mason
2003-06-12 14:43 ` Herbie Hopkins
2003-06-12 14:46 ` Oleg Drokin
3 siblings, 1 reply; 13+ messages in thread
From: Chris Mason @ 2003-06-12 14:39 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: reiserfs-list
On Thu, 2003-06-12 at 10:20, Herbie Hopkins wrote:
> It seems to take a very long time to mount a large reiserfs filesystem:
>
> $ time mount /home
>
> real 0m17.259s
> user 0m0.000s
> sys 0m0.000s
Which kernel? 2.4.20 or so had improvements in this area
-chris
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 14:39 ` Chris Mason
@ 2003-06-12 14:43 ` Herbie Hopkins
0 siblings, 0 replies; 13+ messages in thread
From: Herbie Hopkins @ 2003-06-12 14:43 UTC (permalink / raw)
To: Chris Mason; +Cc: Reiserfs
I'm using 2.4.20.
On Thu, 2003-06-12 at 15:39, Chris Mason wrote:
> On Thu, 2003-06-12 at 10:20, Herbie Hopkins wrote:
> > It seems to take a very long time to mount a large reiserfs filesystem:
> >
> > $ time mount /home
> >
> > real 0m17.259s
> > user 0m0.000s
> > sys 0m0.000s
>
> Which kernel? 2.4.20 or so had improvements in this area
>
> -chris
>
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 14:20 slow mount Herbie Hopkins
` (2 preceding siblings ...)
2003-06-12 14:39 ` Chris Mason
@ 2003-06-12 14:46 ` Oleg Drokin
2003-06-12 15:26 ` Herbie Hopkins
2003-06-12 15:47 ` Herbie Hopkins
3 siblings, 2 replies; 13+ messages in thread
From: Oleg Drokin @ 2003-06-12 14:46 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: reiserfs-list
Hello!
On Thu, Jun 12, 2003 at 03:20:29PM +0100, Herbie Hopkins wrote:
> It seems to take a very long time to mount a large reiserfs filesystem:
> $ time mount /home
> real 0m17.259s
> /dev/hda7 44G 12G 33G 26% /home
> is this normal behaviour? as this drastically increases my system statup
Well. Some kind of a delay is certainly expected, as reiserfs is reading
all the bitmaps at mount time.
> time. The same partition formatted to ext3 mounts in less than a second
> and this also seems to have no reflection on the amount of data on the
> partition as it still takes this long when the filesystem in empty.
The bitmaps are there no matter if filesystem is empty or not.
Only my 20G fs can be mounted in 1.4s, so may be you have some kind of very slow
drive, or no DMA or something like that?
Bye,
Oleg
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: slow mount
2003-06-12 14:46 ` Oleg Drokin
@ 2003-06-12 15:26 ` Herbie Hopkins
2003-06-12 15:47 ` Herbie Hopkins
1 sibling, 0 replies; 13+ messages in thread
From: Herbie Hopkins @ 2003-06-12 15:26 UTC (permalink / raw)
To: Oleg Drokin; +Cc: Reiserfs
slow drive? Not really:
$cat /proc/ide/via
Transfer Mode: UDMA
Address Setup: 30ns
Cmd Active: 90ns
Cmd Recovery: 30ns
Data Active: 90ns
Data Recovery: 30ns
Cycle Time: 15ns
Transfer Rate: 133.3MB/s
$hdparm -Tt /dev/hda
/dev/hda:
Timing buffer-cache reads: 128 MB in 0.42 seconds =304.76 MB/sec
Timing buffered disk reads: 64 MB in 1.26 seconds = 50.79 MB/sec
On Thu, 2003-06-12 at 15:46, Oleg Drokin wrote:
> Hello!
>
> On Thu, Jun 12, 2003 at 03:20:29PM +0100, Herbie Hopkins wrote:
> > It seems to take a very long time to mount a large reiserfs filesystem:
> > $ time mount /home
> > real 0m17.259s
> > /dev/hda7 44G 12G 33G 26% /home
> > is this normal behaviour? as this drastically increases my system statup
>
> Well. Some kind of a delay is certainly expected, as reiserfs is reading
> all the bitmaps at mount time.
>
> > time. The same partition formatted to ext3 mounts in less than a second
> > and this also seems to have no reflection on the amount of data on the
> > partition as it still takes this long when the filesystem in empty.
>
> The bitmaps are there no matter if filesystem is empty or not.
>
> Only my 20G fs can be mounted in 1.4s, so may be you have some kind of very slow
> drive, or no DMA or something like that?
>
> Bye,
> Oleg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 14:46 ` Oleg Drokin
2003-06-12 15:26 ` Herbie Hopkins
@ 2003-06-12 15:47 ` Herbie Hopkins
2003-06-12 15:56 ` Hans Reiser
1 sibling, 1 reply; 13+ messages in thread
From: Herbie Hopkins @ 2003-06-12 15:47 UTC (permalink / raw)
To: Oleg Drokin; +Cc: Reiserfs
Interestingly enough a 20G fs on the same drive takes 0.9s to mount.
Should a 40G partition not take roughly twice as long as a 20G partition
to mount?
On Thu, 2003-06-12 at 15:46, Oleg Drokin wrote:
> Hello!
>
> On Thu, Jun 12, 2003 at 03:20:29PM +0100, Herbie Hopkins wrote:
> > It seems to take a very long time to mount a large reiserfs filesystem:
> > $ time mount /home
> > real 0m17.259s
> > /dev/hda7 44G 12G 33G 26% /home
> > is this normal behaviour? as this drastically increases my system statup
>
> Well. Some kind of a delay is certainly expected, as reiserfs is reading
> all the bitmaps at mount time.
>
> > time. The same partition formatted to ext3 mounts in less than a second
> > and this also seems to have no reflection on the amount of data on the
> > partition as it still takes this long when the filesystem in empty.
>
> The bitmaps are there no matter if filesystem is empty or not.
>
> Only my 20G fs can be mounted in 1.4s, so may be you have some kind of very slow
> drive, or no DMA or something like that?
>
> Bye,
> Oleg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 15:47 ` Herbie Hopkins
@ 2003-06-12 15:56 ` Hans Reiser
2003-06-12 16:24 ` Herbie Hopkins
0 siblings, 1 reply; 13+ messages in thread
From: Hans Reiser @ 2003-06-12 15:56 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: Oleg Drokin, Reiserfs
Herbie Hopkins wrote:
>Interestingly enough a 20G fs on the same drive takes 0.9s to mount.
>Should a 40G partition not take roughly twice as long as a 20G partition
>to mount?
>
Yes.
>
>On Thu, 2003-06-12 at 15:46, Oleg Drokin wrote:
>
>
>>Hello!
>>
>>On Thu, Jun 12, 2003 at 03:20:29PM +0100, Herbie Hopkins wrote:
>>
>>
>>>It seems to take a very long time to mount a large reiserfs filesystem:
>>> $ time mount /home
>>> real 0m17.259s
>>> /dev/hda7 44G 12G 33G 26% /home
>>>is this normal behaviour? as this drastically increases my system statup
>>>
>>>
>>Well. Some kind of a delay is certainly expected, as reiserfs is reading
>>all the bitmaps at mount time.
>>
>>
>>
>>>time. The same partition formatted to ext3 mounts in less than a second
>>>and this also seems to have no reflection on the amount of data on the
>>>partition as it still takes this long when the filesystem in empty.
>>>
>>>
>>The bitmaps are there no matter if filesystem is empty or not.
>>
>>Only my 20G fs can be mounted in 1.4s, so may be you have some kind of very slow
>>drive, or no DMA or something like that?
>>
>>Bye,
>> Oleg
>>
>>
>
>
>
>
>
Is the hardware starting to fail and doing lots of retries maybe?
--
Hans
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 15:56 ` Hans Reiser
@ 2003-06-12 16:24 ` Herbie Hopkins
2003-06-12 17:26 ` Oleg Drokin
0 siblings, 1 reply; 13+ messages in thread
From: Herbie Hopkins @ 2003-06-12 16:24 UTC (permalink / raw)
To: Hans Reiser; +Cc: Oleg Drokin, Reiserfs
On Thu, 2003-06-12 at 16:56, Hans Reiser wrote:
> Is the hardware starting to fail and doing lots of retries maybe?
I sure hope not as the drive is only a couple of months old. Booting a
kernel with CONFIG_REISERFS_CHECK=y dmesg gives me:
reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
reiserfs:warning: - it is slow mode for debugging.
reiserfs: checking transaction log (device 03:07) ...
journal-1153: found in header: first_unflushed_offset 465,
last_flushed_trans_id 84176
journal-1206: Starting replay from offset 465, trans_id 84177
journal-1299: Setting newest_mount_id to 95
Using r5 hash to sort names
ReiserFS version 3.6.25
which looks normal to me.
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 16:24 ` Herbie Hopkins
@ 2003-06-12 17:26 ` Oleg Drokin
2003-06-12 17:33 ` Herbie Hopkins
0 siblings, 1 reply; 13+ messages in thread
From: Oleg Drokin @ 2003-06-12 17:26 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: Hans Reiser, Reiserfs
Hello!
On Thu, Jun 12, 2003 at 05:24:50PM +0100, Herbie Hopkins wrote:
> > Is the hardware starting to fail and doing lots of retries maybe?
> I sure hope not as the drive is only a couple of months old. Booting a
> kernel with CONFIG_REISERFS_CHECK=y dmesg gives me:
> reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
> reiserfs:warning: - it is slow mode for debugging.
> reiserfs: checking transaction log (device 03:07) ...
> journal-1153: found in header: first_unflushed_offset 465,
> last_flushed_trans_id 84176
> journal-1206: Starting replay from offset 465, trans_id 84177
> journal-1299: Setting newest_mount_id to 95
> Using r5 hash to sort names
> ReiserFS version 3.6.25
> which looks normal to me.
What if you turn off this debugging stuff that is certainly slows down all the operations by a lot?
Corresponding kernel option (compile-time) is CONFIG_REISERFS_CHECK
Bye,
Oleg
^ permalink raw reply [flat|nested] 13+ messages in thread* Re: slow mount
2003-06-12 17:26 ` Oleg Drokin
@ 2003-06-12 17:33 ` Herbie Hopkins
2003-06-12 17:38 ` Oleg Drokin
0 siblings, 1 reply; 13+ messages in thread
From: Herbie Hopkins @ 2003-06-12 17:33 UTC (permalink / raw)
To: Oleg Drokin; +Cc: Hans Reiser, Reiserfs
I don't have the dubuging stuff on at the moment, I just compiled
another kernel with it enabled to see what extra info it gave me.
On Thu, 2003-06-12 at 18:26, Oleg Drokin wrote:
> Hello!
>
> On Thu, Jun 12, 2003 at 05:24:50PM +0100, Herbie Hopkins wrote:
> > > Is the hardware starting to fail and doing lots of retries maybe?
> > I sure hope not as the drive is only a couple of months old. Booting a
> > kernel with CONFIG_REISERFS_CHECK=y dmesg gives me:
> > reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
> > reiserfs:warning: - it is slow mode for debugging.
> > reiserfs: checking transaction log (device 03:07) ...
> > journal-1153: found in header: first_unflushed_offset 465,
> > last_flushed_trans_id 84176
> > journal-1206: Starting replay from offset 465, trans_id 84177
> > journal-1299: Setting newest_mount_id to 95
> > Using r5 hash to sort names
> > ReiserFS version 3.6.25
> > which looks normal to me.
>
> What if you turn off this debugging stuff that is certainly slows down all the operations by a lot?
> Corresponding kernel option (compile-time) is CONFIG_REISERFS_CHECK
>
> Bye,
> Oleg
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: slow mount
2003-06-12 17:33 ` Herbie Hopkins
@ 2003-06-12 17:38 ` Oleg Drokin
0 siblings, 0 replies; 13+ messages in thread
From: Oleg Drokin @ 2003-06-12 17:38 UTC (permalink / raw)
To: Herbie Hopkins; +Cc: Hans Reiser, Reiserfs
Hello!
On Thu, Jun 12, 2003 at 06:33:37PM +0100, Herbie Hopkins wrote:
> I don't have the dubuging stuff on at the moment, I just compiled
> another kernel with it enabled to see what extra info it gave me.
Ah, I see.
Well, if the drive itself is inducing those delays, you cannot tell that from
fs driver, but you probably can look around with smartctl and see how many
relocated bad sectors it have and this kind of stuff.
Bye,
Oleg
^ permalink raw reply [flat|nested] 13+ messages in thread
end of thread, other threads:[~2003-06-12 17:38 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-12 14:20 slow mount Herbie Hopkins
2003-06-12 14:18 ` Yury Umanets
2003-06-12 14:35 ` Alex Zarochentsev
2003-06-12 14:39 ` Chris Mason
2003-06-12 14:43 ` Herbie Hopkins
2003-06-12 14:46 ` Oleg Drokin
2003-06-12 15:26 ` Herbie Hopkins
2003-06-12 15:47 ` Herbie Hopkins
2003-06-12 15:56 ` Hans Reiser
2003-06-12 16:24 ` Herbie Hopkins
2003-06-12 17:26 ` Oleg Drokin
2003-06-12 17:33 ` Herbie Hopkins
2003-06-12 17:38 ` Oleg Drokin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.