sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: David Kowis <dkowis AT shlrm.org>
- To: sm-discuss AT lists.ibiblio.org
- Subject: Re: [SM-Discuss] SquashFS resource usage
- Date: Mon, 16 Jan 2012 08:00:52 -0600
On 01/15/2012 11:49 PM, Ismael Luceno wrote:
> On Sun, 15 Jan 2012 14:17:57 -0600
> David Kowis <dkowis AT shlrm.org> wrote:
>> What about performance hits regarding searching for spells, indexing,
>> various gaze functions and whatnot.
>>
>> Surely there's a bit of a hit, but I'm not sure how significant it'd
>> be.
>
> The CPU and memory access overhead is, IMHO, mostly unnoticeable.
>
> I think only the fastest SSD disks (+300MB/s), used in conjunction with
> very low end CPUs would actually find decreased performance. Almost
> everything else should favor compressed filesystems.
>
> I've made a simple test. The file:
> -rw-r--r-- 1 ismael users 127M Jan 16 01:49 testfile.tar.gz
>
> So i tried decompression in RAM (tmpfs):
> # time gzip -dc testfile.tar.gz |wc -c
> 702668800
>
> real 0m6.691s
> user 0m6.116s
> sys 0m1.077s
>
> Even with all the overhead of doing it in userspace, it reached
> about 109MB/s for a file compressed with gzip -9. This machine has a
> 2.0GHz Athlon64 CPU and 1GB DDR400 memory, so it's quite slow for
> nowadays standards.
>
> Even on this system, it would require just a second to unpack the whole
> grimoire.
Well that seems reasonable. Hack up a patch and show a proof of concept?
David
Attachment:
signature.asc
Description: OpenPGP digital signature
-
[SM-Discuss] Compressed grimoires,
Ismael Luceno, 01/15/2012
-
[SM-Discuss] SquashFS resource usage (was: Compressed grimoires),
Ismael Luceno, 01/15/2012
-
Message not available
-
Re: [SM-Discuss] SquashFS resource usage,
Ismael Luceno, 01/16/2012
- Re: [SM-Discuss] SquashFS resource usage, David Kowis, 01/16/2012
-
Re: [SM-Discuss] SquashFS resource usage,
Ismael Luceno, 01/16/2012
-
Message not available
-
[SM-Discuss] SquashFS resource usage (was: Compressed grimoires),
Ismael Luceno, 01/15/2012
Archive powered by MHonArc 2.6.24.