xfs
[Top] [All Lists]

Incredibly slow rebuild of small access_db on xfs partition

To: linux-xfs@xxxxxxxxxxx
Subject: Incredibly slow rebuild of small access_db on xfs partition
From: Jarek Luberek <jarek@xxxxxxxxxx>
Date: Sat, 5 May 2001 15:57:01 +0200
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi,

The command (in /etc/mail),
# time make
Rebuilding /etc/mail/access.db.
makemap hash -f /etc/mail/access.db < /etc/mail/access
test -e /etc/mail/access.db && touch /etc/mail/access.db
 
real    1m55.378s
user    0m0.170s
sys     0m18.880s


takes almost two minutes to complete. The access_db has only

# wc access
    705    1428   15002 access

entries. I have to identical installations of suse 7.1 (on this dual PIII 
with  intel chipsets (all over it seems to me). One uses reiserfs and this 
one xfs. The disk is with the xfs partition is,

hda: IBM-DTTA-351010, ATA DISK drive
hda: 19807200 sectors (10141 MB) w/466KiB Cache, CHS=1232/255/63

and has performed reliably so far. On the reiserfs-partitions this command 
takes normal time (<< 1s).

The makemap command will eventually complete after accessing the
disk for the duration of the command. After completion, no error messages
are logged seen in dmesg or /var/log/messages. Also, the memory usage
is quite exessive. Im only running KDE right how and,

 > free
             total       used       free     shared    buffers     cached
Mem:        254684     249156       5528          0          4      69748
-/+ buffers/cache:     179404      75280
Swap:        72252       1496      70756

Any clues?

Greetings,
Jarek



<Prev in Thread] Current Thread [Next in Thread>