View: 4251|Reply: 4

Is Zram/Zwap possible?

[Copy link]

2

threads

5

posts

58

credits

Registered member

Rank: 2

credits
58
Published in 2016-3-6 03:35:18 | Show all floors |Read mode
I'm using an Orange Pi One which I'm setting up to use a swap file on  a USB disk.  As the USB access is going to slow down the memory caching quite a bit I was wondering if anyone knows how to get zswap or zram installed.  I'm using Ubuntu Mate.

2

threads

144

posts

1069

credits

Gold member

Rank: 6Rank: 6

credits
1069
Published in 2016-3-6 04:01:07 | Show all floors
You need a kernel compiled with it enabled. On the 3.4-kernel it can be found in staging-drivers, on the mainline-kernel it's no longer in staging.

2

threads

5

posts

58

credits

Registered member

Rank: 2

credits
58
 Author| Published in 2016-3-7 02:48:00 from mobile | Show all floors
Thanks - I'll have to dive into the murky waters of kernel  compilation.   It the linux development  kit from the opi download section I need  (never compiled the kernel before )?

1

threads

8

posts

621

credits

Senior member

Rank: 4

credits
621
Published in 2016-3-7 05:28:41 | Show all floors
Your best bet would read up on the Armbian site, http://www.armbian.com/, for help with compiling kernels for the OPis and a number of other Allwinner SOC based devices.
Currently playing around with OPis, RPis and CHIPs.

2

threads

5

posts

58

credits

Registered member

Rank: 2

credits
58
 Author| Published in 2016-3-7 07:21:21 from mobile | Show all floors
thanks, been looking on there.  
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list