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)
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.
Last edited by kdar (2013-03-08 02:10:20)
Would it automatically be more energy efficient if it was in the kernel? Genuinely curious about this...
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
Like you, I have no idea what you are doing, but I am pretty sure it is wrong...Jasonwryan
How to Ask Questions the Smart Way
^^^ 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?