You are not logged in.
Can compression utility (say gzip) be integrated into kernel? (making it a module in a custom kernel)
Last edited by kdar (2013-03-07 23:45:39)
Offline
To what end (i.e. Why)?
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Well.. I was thinking to make performance of compression more efficient (in energy for example)... especially in a networking environment (cloud?), where large amount of lossless data have to be downloaded or uploaded.
I just found about e3compr for ext3... not sure how this can be used.. or if it is used somewhere with ext3.
http://sourceforge.net/projects/e3compr/
http://en.wikipedia.org/wiki/Ext3#Compression
Last edited by kdar (2013-03-08 02:10:20)
Offline
Would it automatically be more energy efficient if it was in the kernel? Genuinely curious about this...
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I assume it is in there already. Look at the "File" /proc/config.gz ; it is a gz version of the configuration file of the running kernel.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Online
Offline
^^^ This is exactly why those are the choices present in compressing the initramfs. Think about it, with no userspace tools present, how else would the initramfs be decompressed when it is stored in these formats?
Offline