Hi Andrew

Am 02.04.2015 um 22:35 schrieb Andrew:
> 02.04.2015 22:09, Mega пишет:
...

>>
>>>>
>>>>>   From other side, we may do other trick: we may store modules in
>>>>> squashfs instead of tgz, and mount it instead of unpacking. And 
>>>>> even we
>>>>> may remove moddb.lrp - just mount this squashfs at boot, probe 
>>>>> modules,

Just for the fun of it I built a squashfs from the modules-geode
directory using the xz compression and did some comparison

mega@leafbuilder:~/leaf/devel/packages/i386$ ls -l /tmp/geode.fs
-rw-r--r-- 1 mega mega 12869632 Apr  3 12:05 /tmp/geode.fs

mega@leafbuilder:~/leaf/devel/packages/i386$ du -s modules-geode
15936   modules-geode

mega@leafbuilder:~/leaf/devel/packages/i386$ ls -l modules-geode.tgz
-rw-rw-r-- 1 mega mega 12879371 Mär 31 10:57 modules-geode.tgz

The numbers imply that there is nothing to be gained in size over the
tarball using squashfs. The advantage of using a squashfs is that we do
not need to unpack the tarball for each file involved. This method is
clearly better than using the tarball and I would recommend replacing
the tarball with a squashfs file. This also makes automatic module
detection a lot more painless.

For small systems though this may still be insufficient. I propose to
still keep the unpacked tarball in a directory on the sourceforge
server, so there is the possibility of a granular access to the
individual modules.

I looked up our modules files and I failed to find the squashfs module.
Should we decide to go the squashfs way, we obviously need to include
this. I will build a kernel for further tests

cheers

ET


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
leaf-devel mailing list
leaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to