[Bug 59899] New: ARM64 64k alignment change tripled installation size
http://bugs.winehq.org/show_bug.cgi?id=59899 Bug ID: 59899 Summary: ARM64 64k alignment change tripled installation size Product: Wine Version: 10.6 Hardware: aarch64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: tools Assignee: wine-bugs@list.winehq.org Reporter: martin@martin.st CC: julliard@winehq.org Regression SHA1: e2686a5dffe9f4db3a983a4c1d2aba4f46f35758 Distribution: --- Before commit e2686a5dffe9f4db3a983a4c1d2aba4f46f35758 (winegcc: Set default section alignment to 64k on ARM64.), the size of a plain install of Wine (configured with "CFLAGS="-O2" CROSSCFLAGS="-O2" ./configure ... --without-x --without-freetype", installed with "make install-lib") tripled. Before this change, the size of the install (measured with "du -hs <prefix>") was 177 MB, after this change it was 536 MB - which seems a bit excessive. Would it be possible to only set the section alignment to 64k, while keeping the file alignment at 4k, to conserve file size - or does the file alignment need to be the same as or higher than the section alignment? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59899 Ken Sharp <imwellcushtymelike@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imwellcushtymelike@gmail.co | |m Keywords| |download, source -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59899 Austin English <austinenglish@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |austinenglish@gmail.com -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59899 --- Comment #1 from Alexandre Julliard <julliard@winehq.org> --- The goal of the change is to support 16k and 64k page sizes, and setting the file alignment smaller than the page size hurts performance, because it makes it impossible to mmap file sections. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59899 --- Comment #2 from Martin Storsjö <martin@martin.st> --- Ok, that makes sense, that it would work but hurt performance. Yes I realize that this is for easing support for 16/64k pages on the host OS. I guess that I can revert/override this locally for size conscious builds. (I wonder if linux distributions will notice/care about this. It shouldn't really affect the size of compressed packages anyway, I think, only the installed size.) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=59899 --- Comment #3 from Austin English <austinenglish@gmail.com> --- (In reply to Martin Storsjö from comment #2)
Ok, that makes sense, that it would work but hurt performance. Yes I realize that this is for easing support for 16/64k pages on the host OS.
I guess that I can revert/override this locally for size conscious builds.
(I wonder if linux distributions will notice/care about this. It shouldn't really affect the size of compressed packages anyway, I think, only the installed size.)
Could this be gated behind a configure flag fit those users/distressed that want it? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla