Howdy guys. Sorry for the crosspost. Patch to speed up taglib.

Manuel Amador (Rudd-O) rudd-o at rudd-o.com
Fri Oct 12 06:43:37 CEST 2007


Interesting.

Possible test (assumes a 1GB RAM machine):

sync
echo 3 > /proc/sys/vm/drop_caches
dd if=/dev/zero of=/tmp/testfile count=1 bs=900M
cp /tmp/testfile /tmp/testfile2
(run the old taglib-test on a huge tree of files)
(check interactivity performance afterwards)

sync
echo 3 > /proc/sys/vm/drop_caches
dd if=/dev/zero of=/tmp/testfile count=1 bs=900M
cp /tmp/testfile /tmp/testfile2
(run the new taglib-test on the same tree of files)
(check interactivity performance afterweards)

The test should evict the caches and increae memory pressure.

Another test:

echo 3 > /proc/sys/vm/drop_caches
time kernel compile + time taglib-test in parallel

See which kernel compile finishes first


El Jue 11 Oct 2007, Scott Wheeler escribió:
> I'll try to test this patch before I do the tarball, but honestly,
> unless the improvements are dramatic I'll probably leave it out.  I just
> finally got my Linux box working again (OpenSUSE 10.2 put it completely
> out of use for the last two months -- something in the USB keyboard
> driver there caused the keyboard to stop working every couple of minutes.)
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/taglib-devel/attachments/20071011/df1f27c6/attachment.pgp 


More information about the taglib-devel mailing list