<div dir="ltr">Because bloatware and OOM killer?</div><br><div class="gmail_quote"><div dir="ltr">On Fri, Oct 12, 2018 at 6:03 PM Fred Gleason <<a href="mailto:fredg@paravelsystems.com">fredg@paravelsystems.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">On Oct 12, 2018, at 12:25, Gordan Bobic <<a href="mailto:gordan@redsleeve.org" target="_blank">gordan@redsleeve.org</a>> wrote:<div><br><div><blockquote type="cite"><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Because swapping to SD card is slow, swapping to zram is fast, and zram only takes about 1/2 of the RAM that it provides.</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">It's basically RAM compression.</div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">It works and makes a positive difference, even without exceedingly slow storage.</div></div></blockquote></div><br></div><div>Right, but that begs a larger question: why swap *at all*? The whole point of virtual memory in the first place was as a performance hack to allow the processor to see a larger memory space than can be accommodated by core RAM alone. For certain workloads, in situations where one has a mass storage device upon which to place the swapped memory pages, this makes sense; but when the ‘storage device’ is the very core RAM that one is attempting to ‘extend’, it becomes a completely self-defeating exercise; complexity for the sake of complexity.</div><div><br></div><div>Cheers!</div><div><br></div><div><br></div><div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|----------------------------------------------------------------------|</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">| Frederick F. Gleason, Jr. |              Chief Developer             |</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|                           |              Paravel Systems             |</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|----------------------------------------------------------------------|</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|   An expert is a person who avoids the small errors while he sweeps  |</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|   on to the grand fallacy.                                           |</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|                                           -- Benjamin Stolberg       |</span></div><div style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">|----------------------------------------------------------------------|</span></div></div></div>_______________________________________________<br>
Arm-dev mailing list<br>
<a href="mailto:Arm-dev@centos.org" target="_blank">Arm-dev@centos.org</a><br>
<a href="https://lists.centos.org/mailman/listinfo/arm-dev" rel="noreferrer" target="_blank">https://lists.centos.org/mailman/listinfo/arm-dev</a><br>
</blockquote></div>