<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal>Currently we have bug 1024 which relates to an install blocker due to the way the installer defaults swap and dump sizes.<o:p></o:p></p><p class=MsoNormal>The relevant parts are in slim_source/usr/src/lib/install_target/controller.py<o:p></o:p></p><p class=MsoNormal>Line 626 in the function calc_swap_dump_size<o:p></o:p></p><p class=MsoNormal>The table explains that above 1GB swap defaults to half memory size, maxed to 32GB and dump above 0.5GB is half memory size, maxed to 16GB<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So a machine with 32GB or more will have 16GB dump space and 16GB-32GB swap space, which is quite nasty when many of us are now using SSD as boot drives.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>First question, why huge space for dump files anyway? How many people use that facility?<o:p></o:p></p><p class=MsoNormal>Second do we really use half memory for swap with large memory configs?<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I suggest that we limit dump space to a small fraction, say 256MB (its minimum according to that function) and cap swap space by default to say 4 or 8 GB. This would seem to be more reasonable defaults to me, and both can be increased if required by a particular user.<o:p></o:p></p><p class=MsoNormal><br>With a swap default maximum of 8GB, this would reduce our minimal install size from roughly 4GB + 0.8 * RAM to roughly a max of 13 GB.<o:p></o:p></p><p class=MsoNormal>In real figures, a server with 48GB RAM would require 13 GB of boot drive space versus the current 44 GB<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Thoughts?<o:p></o:p></p><p class=MsoNormal>Deano<o:p></o:p></p></div></body></html>