[Bug 430140] New: run linuxrc from squashfs to reduce memory requirements with 64K pagesize
https://bugzilla.novell.com/show_bug.cgi?id=430140 Summary: run linuxrc from squashfs to reduce memory requirements with 64K pagesize Product: openSUSE 11.1 Version: Factory Platform: PowerPC OS/Version: Linux Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: snwint@novell.com ReportedBy: olh@novell.com QAContact: jsrain@novell.com CC: power-bugs@forge.provo.novell.com Found By: --- With 64k pagesize, every file in tmpfs needs at least 64k instead of 4k. This leads to early OOM on playstation. Output from attached script with the 32bit and 64bit install initrd: lingonberry:~> bash /root/size.sh /root/i32 totalsize 33991008 number of blocks with 4K 8537, required memory: kb 34148 number of blocks with 64K 8537, required memory: kb 52800 18652 kb more memory needed with 64K PAGE_SIZE lingonberry:~> bash /root/size.sh /root/i64 totalsize 68618254 number of blocks with 4K 16989, required memory: kb 67956 number of blocks with 64K 16989, required memory: kb 85888 17932 kb more memory needed with 64K PAGE_SIZE I suggest to run everything currently in the install initrd from squashfs. There should be a small /init binary which: * loads squashfs * mounts initrd.squashfs.image to /somedirectory * symlinks all of /somedirectory to / * symlinks /somediretroy/linuxrc to /init * executes /init to start real linuxrc I think it will save even more memory than the 18mb shown above, because most files will be compressed in one single image. The ppc64 initrd is around 15MB. Would that work? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c1
--- Comment #1 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c2
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c3
--- Comment #3 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c4
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c5
--- Comment #5 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c6
--- Comment #6 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c7
--- Comment #7 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c8
--- Comment #8 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c9
--- Comment #9 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c10
--- Comment #10 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c11
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c12
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c13
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c14
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c15
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c16
--- Comment #16 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c17
--- Comment #17 from Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=430140
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c18
--- Comment #18 from Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=430140
User snwint@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=430140#c19
Steffen Winterfeldt
participants (1)
-
bugzilla_noreply@novell.com