Snappy Swap

Kyle Fazzari kyle.fazzari at canonical.com
Wed Mar 23 11:40:43 UTC 2016



On 03/23/2016 07:34 AM, Zygmunt Krynicki wrote:
> Dnia 2016-03-23, śro o godzinie 06:35 -0400, Kyle Fazzari pisze:
>> Hey all,
>>
>> I was asked the other day about enabling swap in Snappy Ubuntu Core,
>> and
>> it seems it's currently not possible. Admittedly not something that's
>> probably desirable by default (e.g. with just an SD card), but one
>> can
>> still put the writable partition on an external HD, and one can put a
>> swap partition there too. There's just no way to make Ubuntu Core use
>> it.
>>
>> Is that something that should be supported?
> 
> Given enough permission a snap might create a swap *file* in its
> writable space and enable that. Would that be enough for you?

Huh, that's an interesting idea. Yeah, if such a thing is possible it
does indeed solve the use-cases I've seen. I feel like this should be
more gadget-layer (my device with these snaps preinstalled will need a
little swap) versus application-layer (my snap needs more memory than
you have), but it solves the problem.

--
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snappy-devel/attachments/20160323/dfd7f338/attachment.pgp>


More information about the snappy-devel mailing list