<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Marcel,</p>
<p><br>
</p>
<p>just two notes from my side, but no clear opinion here. :-)</p>
<p><br>
</p>
<p>> <span>I assume that the user can spare those extra megs on disk while working.</span></p>
<p><span><br>
</span></p>
<p><span>On my main machine, I have 233 .image files with 28 GB in total. So maybe "those extra megs" could indeed be relevant ... But I did not do a rough calculation. :-)</span></p>
<p><span><br>
</span></p>
<p><span>> <span>Which server images save on a regular basis? :-D</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>The image for <a href="https://t.me/SqueakSmalltalkBot" class="OWAAutoLink" id="LPlnk531037" previewremoved="true">
https://t.me/SqueakSmalltalkBot</a> does, once in ten minutes. Will this increase the wear and tear of my raspi's SD card? :-) To be honest, I would prefer it if "Smalltalk snapshot: ... andQuit: ..." would support the server use case out-of-the-box, too, without
 extra scripting. But if we are only talking about a few kilobytes here, I don't mind. :-)</span></span></p>
<p><span><span><br>
</span></span></p>
<p><span><span>Best,</span></span></p>
<p><span><span>Christoph</span></span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Taeumel, Marcel<br>
<b>Gesendet:</b> Mittwoch, 16. Februar 2022 17:26:38<br>
<b>An:</b> squeak-dev<br>
<b>Betreff:</b> Re: [squeak-dev] The Trunk: Graphics-mt.482.mcz</font>
<div> </div>
</div>
<div>
<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">
Hi Tim --
<div><br>
</div>
<div>> <span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">The problem here is image file bloating</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">I know. Is this a problem? I assume that the user can spare those extra megs on disk while working. Yet, it is annoying to get a stuttering system after snapshotting, which might even
 encourage people to not save that often.</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">> </span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"> </span><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">It should start ok
 but might be a problem for server cases where startup time is important?</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Which server images save on a regular basis? :-D You can always call "Form shutdown: true" and "TTCFont shutdown: true" in your server scripts directly before snapshotting ... I assume
 that servers have such scripts anyway and those two extra lines wouldn't hurt...</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px"><br>
</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Best,</span></div>
<div><span style="font-family: Arial, Helvetica, sans-serif;font-size: 13px">Marcel</span></div>
<div class="mb_sig"></div>
<blockquote class="history_container" type="cite" style="border-left-style:solid;border-width:1px; margin-top:20px; margin-left:0px;padding-left:10px;">
<p style="color: #AAAAAA; margin-top: 10px;">Am 14.02.2022 18:29:21 schrieb tim Rowledge <tim@rowledge.org>:</p>
<div style="font-family:Arial,Helvetica,sans-serif"><br>
<br>
> On 2022-02-14, at 8:43 AM, Marcel Taeumel <marcel.taeumel@hpi.de>wrote:<br>
> <br>
> Hi all --<br>
> <br>
> Please report whether I am overlooking something here... It was kind of annoying that my entire TrueType cache was gone after just saving the image and keep on working.<br>
<br>
The problem here is image file bloating; the hibernation is intended to save (quite a bit of) space in the image file. If we only hibernate when save&quitting then we will see patterns in the snapshot file size like
<br>
<br>
100mb<br>
112mb<br>
121mb<br>
(quit) 101mb<br>
<br>
.. which maybe wouldn't bother anyone, maybe would annoy some?<br>
<br>
Also, a few save-no-quits followed by a damn-I-broke-it-quit-no-save would lave the large file as the one you have to start up. It should start ok but might be a problem for server cases where startup time is important?<br>
<br>
High-tech-insane solution - use DTL's spawn-an-image and have that image do the hibernate & save! Couldn't possibly go wrong...<br>
<br>
<br>
tim<br>
--<br>
tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim<br>
Strange OpCodes: CM: Circulate Memory<br>
<br>
<br>
<br>
</marcel.taeumel@hpi.de></div>
</blockquote>
</div>
</div>
</body>
</html>