swap file..using zram // media memory

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

swap file..using zram // media memory

Unread post by phaseshifter » Sat Apr 13, 2019 1:16 am

i dont see a swap file in the Ksgard system monitor..

should there be a swap file..
would it aid performance...is it necessary..

and how can i make one...???
Last edited by phaseshifter on Sun Apr 14, 2019 10:27 am, edited 1 time in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: swap file..??

Unread post by nogareth » Sat Apr 13, 2019 2:00 am

With 4 Gb Ram you will rarely need swap when using Linux . So, no there does'nt need to be a swap file.

You can easily create one to test if it affects your performance :

Try:

dd if=/dev/zero of=/swap.img bs=1M count=2048
mkswap -c /swap.img
swapon /swap.img

This will create a 2Gb swapfile in your system root , and activate it until you reboot.
You can change the filepath to your fastest available storage to get max performance.

To unmount your swapfile without rebooting just do "swapoff /swap.img"

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..??

Unread post by mad_ady » Sat Apr 13, 2019 2:57 am

I'd try zram before resorting to disk swap

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..??

Unread post by phaseshifter » Sat Apr 13, 2019 3:16 am

i have some mem of zram..but cannot remember how to do it on arm64 ....????
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..??

Unread post by mad_ady » Sat Apr 13, 2019 3:53 am


phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..??

Unread post by phaseshifter » Sat Apr 13, 2019 7:44 am

that was not of a great deal of help although it looks promising ...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

CaptManiac
Posts: 12
Joined: Tue Apr 02, 2019 12:17 am
languages_spoken: english
ODROIDs: N2
Has thanked: 5 times
Been thanked: 2 times
Contact:

Re: swap file..??

Unread post by CaptManiac » Sat Apr 13, 2019 1:00 pm

I went looking for more information on zram, and came upon zramctl. See the manpage here: http://manpages.ubuntu.com/manpages/xen ... ctl.8.html

Configuration seems pretty straight forward. And there's an example at the end for enabling it.
These users thanked the author CaptManiac for the post:
phaseshifter (Sat Apr 13, 2019 1:22 pm)

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..??

Unread post by phaseshifter » Sat Apr 13, 2019 1:27 pm

should be good to go with the latest kernel so i am told.....

HOW TO INSTALL SWAP MEMORY::::..As Follows
===================================================================================================================

firstly install the package...after the inital setup explained below,
you have to reboot and then it`s done...then it is configured automatically on every reboot..

Open a terminal

change to root user mode

Code: Select all

su
type root password

Code: Select all

sudo apt install zram-config
to make it load at boot

edit the /etc/rc.local file and put these lines into the top of the file..

you can choose your swap size...
example is shown for 512Meg...usually this is set to half your physical ram..

if you wish to change ram size at any time...
simply edit the /etc/rc.local and change it to the value that you require..then reboot..

Code: Select all

nano /etc/rc.local

Code: Select all

zramctl --find --size 512M

echo '9999' > /sys/module/lowmemorykiller/parameters/adj
echo '1' > /sys/module/lowmemorykiller/parameters/minfree

mkswap /dev/zram0
swapon /dev/zram0

Code: Select all

reboot
To turn it off if you don't need it for this session...open a terminal as root user

Code: Select all

swapoff /dev/zram0

Code: Select all

zramctl --reset /dev/zram0
if you find you don't want it at all simply edit /etc/rc.local and remove the code from the file..
Last edited by phaseshifter on Mon May 06, 2019 1:27 am, edited 9 times in total.
These users thanked the author phaseshifter for the post:
alvarow (Thu Aug 08, 2019 10:13 am)
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: swap file..??

Unread post by nogareth » Sun Apr 14, 2019 12:20 am

I am not sure if both of you know what a swap array ( no matter if partition, disk, file or whatever) is made for.
But if you are running out of ram what is the reason to swap on your N2 and you create a swapfile within your ram , we'll that doesn't make much sense, does it?
If you create swap like this, then there is no need for it.
Zram makes sense on Servers with huge ammounts of RAM but not with 4Gb.
Better stick to fast Flash memory and use your RAM for what it is made for.

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..??

Unread post by mad_ady » Sun Apr 14, 2019 12:46 am

In practice I found zram helpful in situations where the system was low on ram, but didn't need a whole lot of extra ram. Since ram is quite compressible and the cpu is fast zram is typically faster than disk swap.

nogareth
Posts: 180
Joined: Sun Jan 25, 2015 3:40 am
languages_spoken: english , german
ODROIDs: N2 4GB, Xu3(sold), Xu4(dead)
Has thanked: 0
Been thanked: 0
Contact:

Re: swap file..??

Unread post by nogareth » Sun Apr 14, 2019 12:53 am

Really? Ok. I've once read about zram or compressed ram in general when having big server systems where you can easily spare a few (hundred) gigabyte for data that needs to be quick available but would take to much space within (uncompressed)ram.
Didn't think that this would be useful if you have little ram available.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..??

Unread post by BadPritt » Sun Apr 14, 2019 1:54 am

phaseshifter wrote:
Sat Apr 13, 2019 1:27 pm

Code: Select all

zramctl --find --size 512M

mkswap /dev/zram0

swapon /dev/zram0
Thank you phaseshifter. I was looking how to enable it on the N2. Your way done it. zram-config doesn't seem to be working.
nogareth wrote:
Sun Apr 14, 2019 12:53 am
Really? Ok. I've once read about zram or compressed ram in general when having big server systems where you can easily spare a few (hundred) gigabyte for data that needs to be quick available but would take to much space within (uncompressed)ram.
Didn't think that this would be useful if you have little ram available.
ZRAM is just of the most importance with small ram sizes. When only 512MB can be used, 256MB extra zram is very helpful. The quad-cores can handle this with ease.

I now needed it because I'm running out of ram when doing Blender renderings. So 4 + 2 = 6GB useable memory. Makes a huge difference to me.
Last edited by BadPritt on Sun Apr 14, 2019 2:05 am, edited 1 time in total.
These users thanked the author BadPritt for the post:
phaseshifter (Sun Apr 14, 2019 5:08 am)

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..??

Unread post by mad_ady » Sun Apr 14, 2019 1:57 am

Faceshifter
I loled so hard... Sounds like a boxer's name :D
These users thanked the author mad_ady for the post:
BadPritt (Sun Apr 14, 2019 5:38 am)

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..??

Unread post by BadPritt » Sun Apr 14, 2019 2:06 am

mad_ady wrote:
Sun Apr 14, 2019 1:57 am
Faceshifter
I loled so hard... Sounds like a boxer's name :D
Lol, I just red it again, and thought, hmm, that doesn't seem right :lol:

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..??

Unread post by phaseshifter » Sun Apr 14, 2019 5:11 am

Hmm funny..in retrospect...
Last edited by phaseshifter on Thu Aug 08, 2019 4:55 pm, edited 7 times in total.
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

DarkBahamut
Posts: 332
Joined: Tue Jan 19, 2016 10:19 am
languages_spoken: english
ODROIDs: XU4, N1
Has thanked: 0
Been thanked: 0
Contact:

Re: swap file..??

Unread post by DarkBahamut » Sun Apr 14, 2019 6:48 am

If people are using compcache on the N2 maybe HK could enable lz4 support in the kernel. Currently I don't believe you can use this with zram due to the config and it would be my preferred compressor of those available.

Code: Select all

# CONFIG_CRYPTO_LZ4 is not set

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..??

Unread post by phaseshifter » Sun Apr 14, 2019 10:15 am

could a size option be an entry in the boot.ini file??
EG:::

#128
#256
#512
1024====>>chosen ram size
#2048
=========================================
all lines commented for no ram being used
==========================================

i think op`s will get that it`s quite basic

i see @DarkBahamut is also saying along the same lines but in a different method...


or just make one of my other wiki post`s a wiki guide...phase...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Mon Apr 15, 2019 8:02 am

Hi again.
ZRAM doesn't seem to work right for me.
I've used this.
phaseshifter wrote:
Sat Apr 13, 2019 1:27 pm
Code: Select all

zramctl --find --size 512M

mkswap /dev/zram0

swapon /dev/zram0
I'm trying to render some images with Blender in 4K. For that I need a lot of ram. But with zram enabled, Blender crashes when it goes over the default 3.6GB ram. It doesn't use zram at all.
I'm now working with ubuntu-18.04.2-4.9-mate-odroid-n2-20190325.img.
It was the same with ubuntu minimal. But the mate image did solve some other issue's.

Here before starting the render. I've got 1.5GB zram. I'm using LXDE because it's using less resources.
Before render.png
Before render.png (313.41 KiB) Viewed 2992 times
Here I just clicked the render button, memory useage is increasing...
started.png
started.png (274.01 KiB) Viewed 2992 times
Here it went over the available ram, and didn't use zram instead. It just shut down blender.
crashed.png
crashed.png (172.2 KiB) Viewed 2992 times
I hope someone can help me. It doesn't need a lot more.
If I lower the settings of Blender more, then the quality of my image will not be good enough for 4K.

I was able to do a lot other images, and it does it great otherwise.
Greetings,
NicoD

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..using zram // media memory

Unread post by phaseshifter » Mon Apr 15, 2019 8:28 am

Code: Select all

#!/bin/bash

zramctl --find --size 512M

mkswap /dev/zram0

swapon /dev/zram0

if [ -f /aafirstboot ]; then /aafirstboot start ; fi

exit 0
this is my /etc/rc.local


what size is your media /emmc/sd-card..???

is your zram size 1 comma 536...or 1 d-point 536 in your rc.local file..wondering if this is an issue...
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Mon Apr 15, 2019 9:46 am

phaseshifter wrote:
Mon Apr 15, 2019 8:28 am

what size is your media /emmc/sd-card..???

is your zram size 1 comma 536...or 1 d-point 536 in your rc.local file..wondering if this is an issue...
I'm using an eMMC of 32GB with plenty free. I could try using a swap file, or swap on a ssd over USB3 would be faster.(I'll try that tomorrow, should have)
But zram should be better.
I've tried many different numbers. 2048M
1564M
512M
Never a decimal or comma.
Thank you.

ps.

I didn't use this "if [ -f /aafirstboot ]; then /aafirstboot start ; fi
"
I'l check tomorrow if that helps. Swap file could also be a possibillity, I don't care how long it renders. As long as it does. Only when I'll do my animations I'll need to lower the render times a lot, but that's not 4k.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..using zram // media memory

Unread post by phaseshifter » Mon Apr 15, 2019 10:22 am

i dont know it`s beyond me..
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

elatllat
Posts: 1495
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 21 times
Been thanked: 45 times
Contact:

Re: swap file..using zram // media memory

Unread post by elatllat » Mon Apr 15, 2019 12:00 pm

BadPritt wrote:
Mon Apr 15, 2019 8:02 am
...Blender crashes...
did it crash or was it killed by the OOM kernel? (dmesg?)

https://serverfault.com/questions/14198 ... n-teardown

This SOC has a max of 4GB RAM, but that should not effect vRAM...

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..using zram // media memory

Unread post by mad_ady » Mon Apr 15, 2019 2:46 pm

My understanding of zram is that each zram "partition" is bound to a cpu core. So if you only have one it would be bound to core0, which is little. If your program is running on the big cores it may not be able to use zram. zram-ctl creates as many zram devices as cores and should have fewer problems.
Though I'm not 100% sure what I said is correct...

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Mon Apr 15, 2019 7:32 pm

mad_ady wrote:
Mon Apr 15, 2019 2:46 pm
My understanding of zram is that each zram "partition" is bound to a cpu core. So if you only have one it would be bound to core0, which is little. If your program is running on the big cores it may not be able to use zram. zram-ctl creates as many zram devices as cores and should have fewer problems.
Though I'm not 100% sure what I said is correct...
Could be true
On Armbian there's always multiple zram's zram0. zram1, zram2,...
I think they use this script for that.
https://github.com/armbian/build/blob/m ... ram-config

Code: Select all

# Load zram module with n instances for swap: one per CPU core, $ZRAM_MAX_DEVICES
	# defines the maximum, on modern kernels we overwrite this with 1 and rely on
# max_comp_streams being set to count of CPU cores or $ZRAM_MAX_DEVICES
I can't understand a thing of what that code does.
I'll look back into it tonight. If anyone has an idea how to do this manually. Please let me know.
Thank you. NicoD

elatllat
Posts: 1495
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 21 times
Been thanked: 45 times
Contact:

Re: swap file..using zram // media memory

Unread post by elatllat » Mon Apr 15, 2019 9:46 pm

AFAIK you can use 1 zram for all cores, just

Code: Select all

cat /sys/block/zram*/max_comp_streams
 
maybe

Code: Select all

nproc > /sys/block/zram0/max_comp_streams
if the config tool did not set it up properly.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Tue Apr 16, 2019 12:51 am

elatllat wrote:
Mon Apr 15, 2019 9:46 pm
AFAIK you can use 1 zram for all cores, just

Code: Select all

cat /sys/block/zram*/max_comp_streams
 
maybe

Code: Select all

nproc > /sys/block/zram0/max_comp_streams
if the config tool did not set it up properly.
Thank you. The result of that is 6. So it should mean all 6 cores have access to it.
But that's not what I'm experiencing.

I've now tried again, and it's a little different. Why I don't know.
Now it starts using the zram until about 300MB. And then it crashed.

Only thing changed is I now have set it up in rc.local instead of doing it manually.
works a little.png
works a little.png (248.38 KiB) Viewed 2825 times
zram works a little bit.png
zram works a little bit.png (161.96 KiB) Viewed 2825 times

I'll try to make a swap file instead and see if that works. Thank you all.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Tue Apr 16, 2019 1:30 am

It is the same with a swap file. I disabled the zram and created a swap file of 4GB.
It again started to write stuff to the swap, but then crashed at about the same point.

I'll have to try to keep it under 3.6GB for now. For my animations that's no problem at all. Only when trying to make high quality renders.

Any way of lowering the video ram? It wasn't possible with the C2, so I guess not.

I've rendered that image this afternoon with my pc while I was gone working. So not too big a problem. But I would like to find a sollution for it.
I'll do more tests with other sbc's. But I'm sure the NanoPi M4 did this well. That one only has 2GB ram, so I had to use zram to be able to render anything with quality on it.

Thank you all. Greetings,
NicoD

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..using zram // media memory

Unread post by mad_ady » Tue Apr 16, 2019 2:06 am

What does dmesg say when the app crashes?
These users thanked the author mad_ady for the post:
BadPritt (Tue Apr 16, 2019 3:04 am)

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Tue Apr 16, 2019 3:02 am

mad_ady wrote:
Tue Apr 16, 2019 2:06 am
What does dmesg say when the app crashes?
Here the output where it says lowmemorykiller : "Killing blender".....

Code: Select all

[ 3061.024788] lowmemorykiller: Killing 'blender' (6266) (tgid 6266), adj 0,
                  to free 3162780kB on behalf of 'blender' (6325) because
                  cache 4760kB is below limit 6144kB for oom_score_adj 0
                  Free memory is -6540kB above reserved
[ 3061.024793] lowmemorykiller:    Free cma:220kB, file cma:4440kB
[ 3061.024794] Mem-Info:
[ 3061.024802] active_anon:792499 inactive_anon:108669 isolated_anon:47
                active_file:1235 inactive_file:1040 isolated_file:32
                unevictable:0 dirty:0 writeback:1315 unstable:0
                slab_reclaimable:5538 slab_unreclaimable:7320
                mapped:10341 shmem:8611 pagetables:4033 bounce:0
                [cma] driver:20555 anon:104661 file:1110 isolate:0 total:126976
                free:1868 free_pcp:185 free_cma:83
[ 3061.024807] Node 0 active_anon:3169996kB inactive_anon:434676kB active_file:4940kB inactive_file:4160kB unevictable:0kB isolated(anon):188kB isolated(file):128kB mapped:41364kB dirty:0kB writeback:5260kB shmem:34444kB writeback_tmp:0kB unstable:0kB pages_scanned:64 all_unreclaimable? no
[ 3061.024814] DMA free:7472kB min:7240kB low:10516kB high:13792kB active_anon:3169996kB inactive_anon:434676kB active_file:4940kB inactive_file:4160kB unevictable:0kB writepending:5260kB present:3891200kB managed:3801336kB mlocked:0kB slab_reclaimable:22152kB slab_unreclaimable:29280kB kernel_stack:6656kB pagetables:16132kB bounce:0kB free_pcp:740kB local_pcp:136kB free_unmovable:1560kB free_movable:280kB free_reclaimable:4052kB free_highatomic:1364kB free_isolate:0kB free_cma:332kB
[ 3061.024815] lowmem_reserve[]: 0 0 0
[ 3061.024818] DMA: 205*4kB (EHC) 130*8kB (UMEHC) 110*16kB (UMEHC) 86*32kB (UMEHC) 19*64kB (UMEHC) 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 7588kB
[ 3061.024832] 12290 total pagecache pages
[ 3061.024833] 1368 pages in swap cache
[ 3061.024834] Swap cache stats: add 3991, delete 2623, find 0/0
[ 3061.024836] Free swap  = 4178336kB
[ 3061.024837] Total swap = 4194300kB
[ 3061.024838] 972800 pages RAM
[ 3061.024839] 0 pages HighMem/MovableOnly
[ 3061.024839] 22466 pages reserved
[ 3061.024840] 126976 pages cma reserved
[ 3061.024841] lowmemorykiller: Foreground task killed, show all Candidates
[ 3061.024844] lowmemorykiller: score_adj:    0, rss:  390, rswap:  276, task:    1, systemd
[ 3061.024863] lowmemorykiller: score_adj:    0, rss:  132, rswap:  171, task: 2063, systemd-journal
[ 3061.024867] lowmemorykiller: score_adj:-1000, rss:  167, rswap:  235, task: 2091, systemd-udevd
[ 3061.024870] lowmemorykiller: score_adj:    0, rss:    0, rswap:  156, task: 2269, systemd-resolve
[ 3061.024872] lowmemorykiller: score_adj:    0, rss:    0, rswap:  152, task: 2273, systemd-timesyn
[ 3061.024874] lowmemorykiller: score_adj:    0, rss:  138, rswap:  153, task: 2327, systemd-logind
[ 3061.024876] lowmemorykiller: score_adj: -900, rss:  383, rswap:  123, task: 2329, dbus-daemon
[ 3061.024878] lowmemorykiller: score_adj:    0, rss:   85, rswap:  109, task: 2330, wpa_supplicant
[ 3061.024880] lowmemorykiller: score_adj:    0, rss:   27, rswap:   52, task: 2331, atd
[ 3061.024882] lowmemorykiller: score_adj:    0, rss:   94, rswap:   61, task: 2333, cron
[ 3061.024884] lowmemorykiller: score_adj:    0, rss:  248, rswap:  163, task: 2335, cupsd
[ 3061.024886] lowmemorykiller: score_adj:    0, rss:  309, rswap:  215, task: 2337, ModemManager
[ 3061.024887] lowmemorykiller: score_adj:    0, rss:  507, rswap:  200, task: 2340, udisksd
[ 3061.024889] lowmemorykiller: score_adj:    0, rss:   90, rswap:  377, task: 2341, rsyslogd
[ 3061.024891] lowmemorykiller: score_adj:    0, rss: 1862, rswap:  327, task: 2343, networkd-dispat
[ 3061.024893] lowmemorykiller: score_adj:    0, rss:   39, rswap:   94, task: 2345, avahi-daemon
[ 3061.024895] lowmemorykiller: score_adj:    0, rss:  743, rswap:   89, task: 2346, NetworkManager
[ 3061.024897] lowmemorykiller: score_adj:    0, rss:  255, rswap:  155, task: 2347, accounts-daemon
[ 3061.024899] lowmemorykiller: score_adj:    0, rss:    0, rswap:   85, task: 2371, avahi-daemon
[ 3061.024901] lowmemorykiller: score_adj:    0, rss:  852, rswap:    0, task: 2402, polkitd
[ 3061.024902] lowmemorykiller: score_adj:    0, rss:  482, rswap:    0, task: 2404, cups-browsed
[ 3061.024904] lowmemorykiller: score_adj:    0, rss: 2161, rswap:    0, task: 2502, unattended-upgr
[ 3061.024907] lowmemorykiller: score_adj:-1000, rss:  173, rswap:    0, task: 2512, sshd
[ 3061.024908] lowmemorykiller: score_adj:    0, rss:  446, rswap:    0, task: 2513, lightdm
[ 3061.024910] lowmemorykiller: score_adj:    0, rss:28331, rswap:    0, task: 2520, Xorg
[ 3061.024912] lowmemorykiller: score_adj:    0, rss:  479, rswap:    0, task: 2617, upowerd
[ 3061.024913] lowmemorykiller: score_adj:    0, rss:  410, rswap:    0, task: 2643, lightdm
[ 3061.024915] lowmemorykiller: score_adj:    0, rss:  591, rswap:    0, task: 2648, whoopsie
[ 3061.024916] lowmemorykiller: score_adj:    0, rss:  118, rswap:    0, task: 2654, kerneloops
[ 3061.024918] lowmemorykiller: score_adj:    0, rss:   82, rswap:    0, task: 2655, agetty
[ 3061.024920] lowmemorykiller: score_adj:    0, rss:   42, rswap:    0, task: 2659, agetty
[ 3061.024922] lowmemorykiller: score_adj:    0, rss:  117, rswap:    0, task: 2662, kerneloops
[ 3061.024923] lowmemorykiller: score_adj:    0, rss:  396, rswap:    0, task: 2668, systemd
[ 3061.024925] lowmemorykiller: score_adj:    0, rss:  397, rswap:  272, task: 2669, (sd-pam)
[ 3061.024927] lowmemorykiller: score_adj:    0, rss:  420, rswap:    0, task: 2684, gnome-keyring-d
[ 3061.024928] lowmemorykiller: score_adj:    0, rss: 1905, rswap:    0, task: 2687, mate-session
[ 3061.024930] lowmemorykiller: score_adj:    0, rss:  376, rswap:    0, task: 2718, dbus-daemon
[ 3061.024932] lowmemorykiller: score_adj:    0, rss:  132, rswap:    0, task: 2768, ssh-agent
[ 3061.024933] lowmemorykiller: score_adj:    0, rss:  411, rswap:    0, task: 2780, gvfsd
[ 3061.024935] lowmemorykiller: score_adj:    0, rss:  338, rswap:    0, task: 2785, gvfsd-fuse
[ 3061.024937] lowmemorykiller: score_adj:    0, rss:  386, rswap:    0, task: 2794, at-spi-bus-laun
[ 3061.024939] lowmemorykiller: score_adj:    0, rss:  247, rswap:    0, task: 2799, dbus-daemon
[ 3061.024940] lowmemorykiller: score_adj:    0, rss:  363, rswap:    0, task: 2801, at-spi2-registr
[ 3061.024942] lowmemorykiller: score_adj:    0, rss:  365, rswap:    0, task: 2803, dconf-service
[ 3061.024943] lowmemorykiller: score_adj:    0, rss: 3098, rswap:    0, task: 2811, mate-settings-d
[ 3061.024945] lowmemorykiller: score_adj:    0, rss: 2594, rswap:    0, task: 2816, marco
[ 3061.024947] lowmemorykiller: score_adj:    0, rss: 1509, rswap:    0, task: 2824, pulseaudio
[ 3061.024948] lowmemorykiller: score_adj:    0, rss:  134, rswap:    0, task: 2825, rtkit-daemon
[ 3061.024950] lowmemorykiller: score_adj:    0, rss: 3351, rswap:    0, task: 2829, mate-panel
[ 3061.024952] lowmemorykiller: score_adj:    0, rss:10529, rswap:    0, task: 2848, caja
[ 3061.024953] lowmemorykiller: score_adj:    0, rss: 3001, rswap:    0, task: 2852, wnck-applet
[ 3061.024955] lowmemorykiller: score_adj:    0, rss: 2689, rswap:    0, task: 2857, command-applet
[ 3061.024956] lowmemorykiller: score_adj:    0, rss: 2723, rswap:    0, task: 2859, mate-cpufreq-ap
[ 3061.024958] lowmemorykiller: score_adj:    0, rss: 2546, rswap:    0, task: 2862, mate-multiload-
[ 3061.024959] lowmemorykiller: score_adj:    0, rss: 2672, rswap:    0, task: 2863, trashapplet
[ 3061.024961] lowmemorykiller: score_adj:    0, rss:  401, rswap:    0, task: 2864, gvfs-udisks2-vo
[ 3061.024962] lowmemorykiller: score_adj:    0, rss: 3591, rswap:    0, task: 2866, brisk-menu
[ 3061.024964] lowmemorykiller: score_adj:    0, rss: 3093, rswap:    0, task: 2873, clock-applet
[ 3061.024965] lowmemorykiller: score_adj:    0, rss: 2450, rswap:    0, task: 2874, notification-ar
[ 3061.024967] lowmemorykiller: score_adj:    0, rss: 2774, rswap:    0, task: 2875, mate-indicator-
[ 3061.024969] lowmemorykiller: score_adj:    0, rss:  324, rswap:    0, task: 2909, gvfs-goa-volume
[ 3061.024970] lowmemorykiller: score_adj:    0, rss: 1899, rswap:    0, task: 2911, nm-applet
[ 3061.024972] lowmemorykiller: score_adj:    0, rss: 4384, rswap:    0, task: 2919, applet.py
[ 3061.024973] lowmemorykiller: score_adj:    0, rss: 1561, rswap:    0, task: 2920, light-locker
[ 3061.024975] lowmemorykiller: score_adj:    0, rss:  388, rswap:    0, task: 2921, gvfs-afc-volume
[ 3061.024976] lowmemorykiller: score_adj:    0, rss: 1694, rswap:    0, task: 2926, deja-dup-monito
[ 3061.024978] lowmemorykiller: score_adj:    0, rss: 1475, rswap:    0, task: 2933, polkit-mate-aut
[ 3061.024979] lowmemorykiller: score_adj:    0, rss: 1893, rswap:    0, task: 2938, mate-power-mana
[ 3061.024981] lowmemorykiller: score_adj:    0, rss:  389, rswap:    0, task: 2941, gvfs-gphoto2-vo
[ 3061.024983] lowmemorykiller: score_adj:    0, rss: 6997, rswap:    0, task: 2942, blueman-applet
[ 3061.024984] lowmemorykiller: score_adj:    0, rss: 1945, rswap:    0, task: 2958, mate-maximus
[ 3061.024986] lowmemorykiller: score_adj:    0, rss:  116, rswap:    0, task: 2968, gvfs-mtp-volume
[ 3061.024987] lowmemorykiller: score_adj:    0, rss:12997, rswap:    0, task: 2972, mate-screensave
[ 3061.024989] lowmemorykiller: score_adj:    0, rss: 1805, rswap:    0, task: 2976, update-notifier
[ 3061.024991] lowmemorykiller: score_adj:    0, rss:  374, rswap:    0, task: 2980, indicator-sessi
[ 3061.024993] lowmemorykiller: score_adj:    0, rss:  261, rswap:    0, task: 2982, gvfsd-trash
[ 3061.024994] lowmemorykiller: score_adj:    0, rss:  659, rswap:    0, task: 2983, indicator-sound
[ 3061.024996] lowmemorykiller: score_adj:    0, rss:  420, rswap:    0, task: 3011, indicator-messa
[ 3061.024998] lowmemorykiller: score_adj:    0, rss:  385, rswap:    0, task: 3016, indicator-power
[ 3061.024999] lowmemorykiller: score_adj:    0, rss:  631, rswap:    0, task: 3023, indicator-appli
[ 3061.025001] lowmemorykiller: score_adj:    0, rss:  303, rswap:    0, task: 3039, gvfsd-metadata
[ 3061.025002] lowmemorykiller: score_adj:    0, rss:  299, rswap:    0, task: 3132, obexd
[ 3061.025004] lowmemorykiller: score_adj:    0, rss: 3778, rswap:    0, task: 6197, mate-terminal
[ 3061.025006] lowmemorykiller: score_adj:    0, rss:  188, rswap:    0, task: 6207, bash
[ 3061.025007] lowmemorykiller: score_adj:    0, rss:790742, rswap:    0, task: 6286, llvmpipe-4
[ 3066.445907] asoc-aml-card auge_sound: S/PDIF Playback disable
[ 3066.454890] spdif_b keep clk continuous
[ 3066.454930] aml_spdif_close
[ 3066.455005] audio_ddr_mngr: frddrs[0] released by device ff642000.audiobus:spdif_b
I also saw this message above it about low voltage detected. Probably has got nothing to do with this, but could be causing some other problems I've got.

Code: Select all

[   14.837163] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   14.842850] rtc-pcf8563 3-0051: low voltage detected, date/time is not reliable.
[   14.845097] rtc-pcf8563 3-0051: rtc core: registered rtc-pcf8563 as rtc0
[   14.949349] out of value, fixed it
[   14.949529] AED req_sel0 module:TDMOUT_B
[   14.949618] spk_mute_set: mute flag = 0
[   16.273501] out of value, fixed it
[   16.273645] AED req_sel0 module:TDMOUT_B
Thank you.

User avatar
mad_ady
Posts: 6527
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 163 times
Been thanked: 125 times
Contact:

Re: swap file..using zram // media memory

Unread post by mad_ady » Tue Apr 16, 2019 4:45 am

See if this helps: https://serverfault.com/questions/76201 ... my-process
Setting a better score for your hungry process

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Tue Apr 16, 2019 5:59 am

mad_ady wrote:
Tue Apr 16, 2019 4:45 am
See if this helps: https://serverfault.com/questions/76201 ... my-process
Setting a better score for your hungry process
Thank you. I've added the link to my favorites to try this tomorrow. I hope it helps.
Now rendering another image, 5h30m to go :D At least I can now play games on my pc, and sleep without noise. I love the N2. This increases my productivity a lot.
Cheers.
NicoD

elatllat
Posts: 1495
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2
Has thanked: 21 times
Been thanked: 45 times
Contact:

Re: swap file..using zram // media memory

Unread post by elatllat » Tue Apr 16, 2019 9:48 am

The best solution to blender OOMing (apart from using an H2) is to change your Blender Settings;

- Change the MEM Cache Limit in the User Preferences System & OpenGL tab.
- Use the Big Render script to render sub-sections of the overall image, and then paste them together.
- etc Google for more.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..using zram // media memory

Unread post by phaseshifter » Tue Apr 16, 2019 10:59 am

would this work...replace this line

Code: Select all

zramctl --find --size 512M
with this

Code: Select all

zramctl  /dev/sda2  --size 512M
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Tue Apr 16, 2019 10:54 pm

Hi again.
elatllat wrote:
Tue Apr 16, 2019 9:48 am
The best solution to blender OOMing (apart from using an H2)
The H2 can have more ram than the N2, but I don't think it's got as much CPU power for this.
elatllat wrote:
Tue Apr 16, 2019 9:48 am
- Change the MEM Cache Limit in the User Preferences System & OpenGL tab.
I tried changing it to the double amount (2048) and triple. But this doesn't make a change.

Trust me, I've googled it. But can't find a good solution for this.
phaseshifter wrote:
Tue Apr 16, 2019 10:59 am
with this

Code: Select all

zramctl /dev/sda2 --size 512M
There is no device sda2. I'm using a eMMC instead of an SD card. You mean /dev/mmcblk0p2 instead?
mad_ady wrote:
Tue Apr 16, 2019 4:45 am
See if this helps: https://serverfault.com/questions/76201 ... my-process
Setting a better score for your hungry process
I tried that, I've changed "oom_score_adj to -1000 or oom_adj to -17 "
But it also didn't make a difference. There's a lot more on that link I've got to read.

There are also 3 other issue's I'm encountering.
There's a problem with my wifi dongles not being recognized at boot. And sometimes my desktop crashes and brings me back the the login screen, and wifi doesn't work anymore then either.
Here dmesg after boot without working wifi.

Code: Select all

0x07 failed for offset 0x0500 with error -110
[  220.204501] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  220.320507] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  220.437134] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  220.557315] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  220.672505] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  220.788500] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  220.905489] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  221.020506] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  221.136560] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  221.252505] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  221.368549] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  221.484680] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  221.600712] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  221.716553] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  221.832569] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  221.949384] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  222.068550] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  222.184625] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  222.304544] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  222.421368] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  222.540509] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  222.657506] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  222.772510] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  222.896563] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  223.016524] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  223.132593] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  223.248999] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  223.372506] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  223.489323] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  223.620516] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  223.736504] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  223.852766] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  223.972508] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  224.088846] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  224.209072] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  224.324561] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  224.441208] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  224.585164] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  224.712525] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  224.829162] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  224.944582] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  225.064548] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  225.180559] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  225.296884] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  225.412550] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  225.528568] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  225.657926] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  225.772499] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  225.889299] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  226.020501] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  226.136618] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  226.252666] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  226.368569] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  226.492557] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  226.608552] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  226.724569] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  226.840649] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  226.960591] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  227.076591] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  227.192585] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  227.308524] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x132c with error -110
[  227.424507] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x132c with error -110
[  227.541138] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1328 with error -110
[  227.656747] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  227.772544] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  227.888504] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  228.004606] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  228.121685] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  228.240539] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  228.356503] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  228.472491] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  228.588497] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  228.704566] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  228.833223] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1130 with error -110
[  228.952527] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1134 with error -110
[  229.069644] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1138 with error -110
[  229.188511] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  229.304574] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  229.420553] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  229.536632] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  229.653118] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  229.768515] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1314 with error -110
[  229.884543] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1314 with error -110
[  230.000536] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1318 with error -110
[  230.116564] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1318 with error -110
[  230.232542] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x131c with error -110
[  230.348542] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x131c with error -110
[  230.464548] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1320 with error -110
[  230.583194] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1320 with error -110
[  230.700560] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1324 with error -110
[  230.816560] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1324 with error -110
[  230.934150] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  231.048557] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  231.168538] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  231.288567] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  231.404531] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  231.520540] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  231.636543] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  231.752543] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  231.868579] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  231.984603] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  232.100590] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  232.216722] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  232.332563] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  232.448605] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  232.568819] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1004 with error -110
[  232.684697] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1004 with error -110
[  232.800603] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1400 with error -110
[  232.920550] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  233.036570] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1400 with error -110
[  233.152576] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  233.268562] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  233.384516] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  233.500542] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1004 with error -110
[  233.616850] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1004 with error -110
[  233.732761] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  233.848526] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  233.964563] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  234.080508] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  234.197425] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  234.312500] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  234.428497] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  234.544507] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  234.664976] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  234.780539] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  234.896663] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  235.016592] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1314 with error -110
[  235.132576] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  235.248731] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  235.365018] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1314 with error -110
[  235.481058] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1318 with error -110
[  235.596511] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  235.712505] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  235.832547] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1318 with error -110
[  235.948658] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x131c with error -110
[  236.065165] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  236.181226] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  236.300627] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x131c with error -110
[  236.416608] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1320 with error -110
[  236.533141] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1004 with error -110
[  236.648531] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1004 with error -110
[  236.764607] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1320 with error -110
[  236.881176] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1130 with error -110
[  236.996546] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1324 with error -110
[  237.113960] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1324 with error -110
[  237.228594] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1134 with error -110
[  237.344511] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1328 with error -110
[  237.460519] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1138 with error -110
[  237.576518] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1328 with error -110
[  237.692504] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  237.808570] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  237.924554] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  238.040517] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  238.160511] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  238.276532] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1328 with error -110
[  238.392539] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1328 with error -110
[  238.520834] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  238.636767] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  238.752507] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  239.964497] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  240.081203] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  240.201917] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  241.980513] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  242.097422] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  242.220534] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  242.340518] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  242.456553] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  242.572524] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  242.688668] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  242.804535] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  242.920542] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1314 with error -110
[  243.036523] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1314 with error -110
[  243.153109] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1318 with error -110
[  243.268531] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1318 with error -110
[  243.384645] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x131c with error -110
[  243.501588] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x131c with error -110
[  243.616500] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1320 with error -110
[  243.732501] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1320 with error -110
[  243.848502] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1324 with error -110
[  243.964607] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1324 with error -110
[  244.084614] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  244.200549] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  244.316527] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  244.992784] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  245.085135] spdif_b keep clk continuous
[  245.085143] aml_spdif_open
[  245.085182] audio_ddr_mngr: frddrs[0] registered by device ff642000.audiobus:spdif_b
[  245.085486] set normal 512 fs /4 fs
[  245.085529] 	 set spdifout clk:5644800, mpll:22579200
[  245.085533] 	 get spdifout clk:5644797, mpll:22579186
[  245.085538] aml_dai_set_spdif_fmt , fmt 0x4010
[  245.085542] set normal 512 fs /4 fs
[  245.085559] 	 set spdifout clk:5644800, mpll:22579200
[  245.085562] 	 get spdifout clk:5644797, mpll:22579186
[  245.085651] spdif_info: rate: 44100, channel status ch0_l:0x100, ch0_r:0x100, ch1_l:0x0, ch1_r:0x0
[  245.085664] aml_spdif_fifo_ctrl, bit depth:16, frddr type:1, toddr:type:1
[  245.086037] asoc-aml-card auge_sound: S/PDIF Playback enable
[  245.916512] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  246.036533] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  246.152715] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  247.008555] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  247.124590] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  247.996560] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  248.192634] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  248.308536] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  248.424503] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  248.544557] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  248.660562] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  248.776559] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1314 with error -110
[  248.892538] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1314 with error -110
[  249.008508] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1318 with error -110
[  249.124550] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1318 with error -110
[  249.240519] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x131c with error -110
[  249.356519] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x131c with error -110
[  249.472535] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1320 with error -110
[  249.588537] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1320 with error -110
[  249.704572] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1324 with error -110
[  249.820579] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1324 with error -110
[  249.937817] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  250.052558] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  250.172531] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  250.290656] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1328 with error -110
[  250.412555] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1328 with error -110
[  250.528516] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  250.644545] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  250.760537] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  250.876534] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0500 with error -110
[  250.992596] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x0500 with error -110
[  251.108523] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1328 with error -110
[  251.224502] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1328 with error -110
[  251.340516] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  251.964525] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  252.080567] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  252.992586] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  253.109371] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  253.224546] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  253.980800] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  254.101577] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  254.114141] asoc-aml-card auge_sound: S/PDIF Playback disable
[  254.114208] spdif_b keep clk continuous
[  254.114213] aml_spdif_close
[  254.114230] audio_ddr_mngr: frddrs[0] released by device ff642000.audiobus:spdif_b
[  254.216503] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  254.332575] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  254.448522] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x101c with error -110
[  254.568525] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x101c with error -110
[  254.684861] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1314 with error -110
[  254.805343] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1314 with error -110
[  254.924658] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1318 with error -110
[  255.040540] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1318 with error -110
[  255.156666] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x131c with error -110
[  255.272573] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x131c with error -110
[  255.392568] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1320 with error -110
[  255.508528] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1320 with error -110
[  255.624569] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1324 with error -110
[  255.740532] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1324 with error -110
[  255.856595] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
[  255.972513] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  256.088556] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  256.992631] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  257.108557] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x0438 with error -110
[  257.225220] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1700 with error -110
It's the same output after a desktop crash-re-login.

Another issue, it's got problems mounting drives. It often makes 2 mounting points in /media/, and sometimes none work. If I unplug the sd-card/ssd then the mount point doesn't remove itself.

As last I've had some hard crashes when the screensaver should come on. The display doesn't go black, and screensaver doesn't come on. It either logs me out of the desktop. Or it crashes the desktop where nothing moves anymore.


Thank you, greetings.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Wed Apr 17, 2019 12:52 am

BadPritt wrote:
Tue Apr 16, 2019 10:54 pm
1.Another issue, it's got problems mounting drives. It often makes 2 mounting points in /media/, and sometimes none work. If I unplug the sd-card/ssd then the mount point doesn't remove itself.

2.As last I've had some hard crashes when the screensaver should come on. The display doesn't go black, and screensaver doesn't come on. It either logs me out of the desktop. Or it crashes the desktop where nothing moves anymore.
Thank you, greetings.
I see no 1 is already being taken care of. (thread What am I doing wrong)

On no 2. I've disabled the screensaver and everything else in Light Locker Settings.
It didn't disable it. But instead of not working, it now does just start the screensaver. I checked again, and everything is turned off.
My 5h render crashed last night because of that bug. When I got up the display was still showing blender at the half of the render, and everything frozen. Doing it again now while moving the mouse every once in a while.
Cheers.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..using zram // media memory

Unread post by phaseshifter » Wed Apr 17, 2019 1:59 am

yes that is what i was referring too the second partition..@BadPritt
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

User avatar
meveric
Posts: 10450
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 127 times
Contact:

Re: swap file..using zram // media memory

Unread post by meveric » Wed Apr 17, 2019 3:27 am

I checked ZRAM on the N2 on my Debian Stretch image and it seems to work fine, as long as the compression algorithm has time to compress pages

I used the following code to test it:

Code: Select all

#include <stdlib.h>
#include <stdio.h>
#include <string.h>

int main(int argc, char** argv) {
    int max = -1;
    int mb = 2047;
    char* buffer;

    if(argc > 1)
        max = atoi(argv[1]);

    buffer=malloc(1024*1024*mb);
    memset(buffer, 0, 1024*1024*mb);
    while((buffer=malloc(1024*1024)) != NULL && mb != max) {
        memset(buffer, 0, 1024*1024);
        mb++;
        printf("Allocated %d MB\n", mb);
        usleep(200000);
    }
return 0;
}
It starts off by allocation 2047 MB at start, when I tried more the application would segfault.
After that it will increase memory allocation 1MB every 200ms.
So obviously the program will run for a little while until it starts swapping.

you can compile it with: gcc memeater.c -o memeater
and start it simply with ./memeater

The result you can see in the pictures:

Image
Image
Image

If you allocate mem too quickly the OOM will kill the process.

I later increased the rate to 50ms which worked fine as well.. I haven't tried to find out at what rate the process will be killed, but 50ms is actually quite fast and it will only take a minute or so until mem and zram is full.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Wed Apr 17, 2019 5:31 am

meveric wrote:
Wed Apr 17, 2019 3:27 am
I used the following code to test it:
That did work. I tried with zram alone, and with zram + swap file.
I let it run until everything was full. Then it crashed in one of the 2 ways blender crashes. Shutting down all running programs and restarting the desktop.
memeater full.png
memeater full.png (503.33 KiB) Viewed 2594 times


I'm now rendering my last image. After that I'll try with other software like Kdenlive to use a lot of zram.
Thanks.
Cheers.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..using zram // media memory

Unread post by phaseshifter » Wed Apr 17, 2019 7:10 am

sorry i dont understand all the code you guy`s are going on about..when you guy`s get it fixed could somebody tell me what and how to do it pls..does my earlier wiki post work and or with some modding ..i still am unshure..????
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Wed Apr 17, 2019 7:40 am

phaseshifter wrote:
Wed Apr 17, 2019 7:10 am
sorry i dont understand all the code you guy`s are going on about..when you guy`s get it fixed could somebody tell me what and how to do it pls..does my earlier wiki post work and or with some modding ..i still am unshure..????
The zram does work, but maybe it could be optimized better.
I will investigate it more tomorrow. I will compare the behaviour with other sbc's(nanopi m4, odroid c2 with Ubuntu Mate). And I'll see if I can use the armbian zram script on the N2 in Ubuntu.
That configures everything a bit more fancy, per core there's a zramx.
I'm done rendering backgrounds, so I've got time to test.

phaseshifter
Posts: 3472
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,
N-1,,N-2,...other odroid acc`s as well
Has thanked: 37 times
Been thanked: 42 times
Contact:

Re: swap file..using zram // media memory

Unread post by phaseshifter » Wed Apr 17, 2019 7:48 am

ok so my post is good but need`s some attention..when you get it figured out can you pls post what i need to edit...i hope we can make a wiki entry as i think this is a good idea for other op`s in the future..phase..
These users thanked the author phaseshifter for the post:
BadPritt (Wed Apr 17, 2019 8:09 am)
Build It And They Will Come...Be Bold And Mighty Forces Will Come To Your Aid..!!!

ASword
Posts: 178
Joined: Fri Aug 04, 2017 12:48 pm
languages_spoken: english
ODROIDs: XU4, HC1, 2x N2
Has thanked: 5 times
Been thanked: 1 time
Contact:

Re: swap file..using zram // media memory

Unread post by ASword » Wed Apr 17, 2019 9:10 am

nogareth wrote:
Sat Apr 13, 2019 2:00 am
dd if=/dev/zero of=/swap.img bs=1M count=2048
mkswap -c /swap.img
swapon /swap.img
Ah, thanks for this! I'm trying to build CLang8 with the system's gcc 7.3.0 and it kept failing with out of memory errors. Tossed in a 32GB SD card, formatted it, followed your instructions to set up a 24GB swap file and it seems to have done the trick (took 2 days to build though!! much slower than before). Watching via htop I never saw it dip into the swap file, but clearly it needed to.

Don't know why so much memory is required, exactly. Nor so slow. Four changes since the last time I built CLang -- Ubuntu minimal 16.04 -> minimal 18.04, 32b -> 64b ARM, gcc version 5.4.x -> 7.3.0, and CLang 7 -> 8. Previously it built in 2GB of RAM, now it takes >4GB?! Seems unlikely to be because of the newer CLang, 64b will make some difference but it shouldn't be 2x more, the OS seems to consume about the same... so I'm thinking that gcc has gotten more memory hungry. All the more reason to use CLang.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Thu Apr 18, 2019 4:51 am

I've just tried with Kdenlive with 2 4K dummy video files so the swap would quickly be used. Identically the same behaviour as with Blender.
I've tried it 2 times. Every time it starts using zram it crashes.
The first time it crashed while scrubbing thru the project. It filled the ram completely, used a little zram and crashed. I didn't take screenshots then, then I opened the project again without scrubbing too much.
Clicked render, and again the moment it went over the 3.6GB it crashed.
Here the project with 2 video clips. The part used by zram is from the first time it crashed. It writes parts of the system that aren't in use first.
kdenlive 1.png
kdenlive 1.png (598.85 KiB) Viewed 2500 times
Here right before it went over 3.6GB
before.png
before.png (523.47 KiB) Viewed 2500 times
Here right after the crash.
after.png
after.png (412.5 KiB) Viewed 2500 times
I will reinstall Ubuntu Mate to confirm this. And then I'll try to make the armbian zram script work.

User avatar
meveric
Posts: 10450
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 127 times
Contact:

Re: swap file..using zram // media memory

Unread post by meveric » Thu Apr 18, 2019 7:07 am

I found that sometimes using regular swap may perform better than using zram.
Although not in all cases.
I have a couple of FNA games on the XU3/XU4 that use more RAM than the XU3/XU4 has available.
Using zram causes the system to freeze and ultimately crashes the board, using regular swap (without zram) slows down the system immensely but the games were working for a while.
But I also know it from the other side... compiling Chromium with regular swap caused the build process to fail and gcc crashed (OOM) while using extensive zram instead worked.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Thu Apr 18, 2019 7:41 am

meveric wrote:
Thu Apr 18, 2019 7:07 am
Using zram causes the system to freeze and ultimately crashes the board
Hi Meveric.
That's something that should not be happening. On every Armbian system it works as it should.
I've just done the same tests with the NanoPi M4. It's only got 2GB ram and 1GB zram.
It filled the zram flawless. But of course it crashed Kdenlive when zram was full. But when also using a swap file this would work.
1 4K video clip. Loading the metadata is enough the go into zram. Changing some things already makes it go over it.
NanoPi M4 Armbian Bionic before zram use
Screenshot_2019-04-17_22-25-20.png
Screenshot_2019-04-17_22-25-20.png (343.48 KiB) Viewed 2485 times
zram use starts
Screenshot_2019-04-17_22-25-26.png
Screenshot_2019-04-17_22-25-26.png (347.94 KiB) Viewed 2485 times
zram full, crash kdenlive
Screenshot_2019-04-17_22-25-54.png
Screenshot_2019-04-17_22-25-54.png (262.06 KiB) Viewed 2485 times
I'm looking into the Armbian script. But they use a lot of data out of other armbian files. So I've got to figure out what is being done. The comments are very useful. But I'm not used reading code like this, it looks like C. But it's not the C I know. (I was a windows programmer :oops: ).
https://github.com/armbian/build/blob/m ... ram-config

It clearly defines 1 zram block per core. @tkaiser could help here. He's (co)writer of the script.

User avatar
meveric
Posts: 10450
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 127 times
Contact:

Re: swap file..using zram // media memory

Unread post by meveric » Thu Apr 18, 2019 8:04 am

The code is not that hard to read.
And starts not much different than the zram-config from Ubuntu.
In fact it even uses the zram-config file from Ubuntu.

It also doesn't differ too much from my zram-odroid package, except for some more code to provide the same outcome.

I'm not entirely sure about this code

Code: Select all

# Swapping to HDDs is stupid so switch to settings made for flash memory and zram/zswap
echo 0 > /proc/sys/vm/page-cluster
The documentation states, it disables page readahead, means it doesn't cache pages that it reads from swap.
Which apparently is faster for the first access and for that can benefit accessing zram, but also means more I/O for all following pages, as the system tries not to guess/cache what page needs to be loaded next.

Later though they create some fancy stuff, which I really do not like:
log2ram where they save log files into RAM which I really don't like. In a scenario where the board crashes your logs will be gone, and you can never find out what happened right before the crash.

They also use compressed /tmp as a RAM device, which is probably fine, as /tmp is meant for temporary files anyway and in most modern OS it's a RAM drive anyway, they just move it to a compressed zram space.

If you ignore the last two parts, they don't do much more than zram-config of Ubuntu, or zram-odroid from my repository.
Just some wrapping and including in their own config files, which is fine, I do the same as well.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Thu Apr 18, 2019 8:35 am

meveric wrote:
Thu Apr 18, 2019 8:04 am
If you ignore the last two parts, they don't do much more than zram-config of Ubuntu, or zram-odroid from my repository.
This part makes a swap block per core.
For every core/zram device is configures the zramx

Code: Select all

	for (( i=1; i<=zram_devices; i++ )); do
		[[ -f /sys/block/zram${i}/comp_algorithm ]] && echo ${swap_algo} >/sys/block/zram${i}/comp_algorithm 2>/dev/null
		if [ "X${ZRAM_BACKING_DEV}" != "X" ]; then
			echo ${ZRAM_BACKING_DEV} >/sys/block/zram${i}/backing_dev
		fi
		echo -n ${ZRAM_MAX_DEVICES:=4} > /sys/block/zram${i}/max_comp_streams
		echo -n ${mem_per_zram_device} > /sys/block/zram${i}/disksize
		echo -n ${mem_limit_per_zram_device} > /sys/block/zram${i}/mem_limit
		mkswap /dev/zram${i}
swapon -p 5 /dev/zram${i}
Here's where it checks how many cores, and so swap devices it needs to create

Code: Select all

	uname -r | grep -q '^3.' && zram_max_devs=${ZRAM_MAX_DEVICES:=4} || zram_max_devs=1
cpu_cores=$(grep -c '^processor' /proc/cpuinfo | sed 's/^0$/1/')
meveric wrote:
Thu Apr 18, 2019 8:04 am
Code: Select all

# Swapping to HDDs is stupid so switch to settings made for flash memory and zram/zswap
echo 0 > /proc/sys/vm/page-cluster
That's probably just an optimisation for flash storage.

So there is a difference in how zram is declared and used. I do not know for sure if the problems of the N2 with zram would be fixed with this, but I'm going to try it because I need this to work for productivity use.
That was also my main selling point, fastest cpu. So it should be best for things like that.

I have red that zram-config only supports up to 4 cores. But haven't found a confirmation of that.(that was with kernel 3.x)
I also red kernel 5.1 will bring improvements to zram performance.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Thu Apr 18, 2019 8:40 am

Then again.
The problem is the same with a swap file only.
So I do not think the problem is just zram.

User avatar
meveric
Posts: 10450
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2
Has thanked: 16 times
Been thanked: 127 times
Contact:

Re: swap file..using zram // media memory

Unread post by meveric » Thu Apr 18, 2019 8:48 am

once again, this is nothing new.
The zram-config file from Ubuntu does nearly the same:

This is the content of /usr/bin/init-zram-swapping which is provided by zram-config from Ubuntu.

Code: Select all

#!/bin/sh

# load dependency modules
NRDEVICES=$(grep -c ^processor /proc/cpuinfo | sed 's/^0$/1/')
if modinfo zram | grep -q ' zram_num_devices:' 2>/dev/null; then
  MODPROBE_ARGS="zram_num_devices=${NRDEVICES}"
elif modinfo zram | grep -q ' num_devices:' 2>/dev/null; then
  MODPROBE_ARGS="num_devices=${NRDEVICES}"
else
  exit 1
fi
modprobe zram $MODPROBE_ARGS

# Calculate memory to use for zram (1/2 of ram)
totalmem=`LC_ALL=C free | grep -e "^Mem:" | sed -e 's/^Mem: *//' -e 's/  *.*//'`
mem=$(((totalmem / 2 / ${NRDEVICES}) * 1024))

# initialize the devices
for i in $(seq ${NRDEVICES}); do
  DEVNUMBER=$((i - 1))
  echo $mem > /sys/block/zram${DEVNUMBER}/disksize
  mkswap /dev/zram${DEVNUMBER}
  swapon -p 5 /dev/zram${DEVNUMBER}
done
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

BadPritt
Posts: 159
Joined: Wed Jan 17, 2018 4:08 am
languages_spoken: english dutch french spanish german
ODROIDs: Odroid C2
Odroid XU4Q
Has thanked: 17 times
Been thanked: 17 times
Contact:

Re: swap file..using zram // media memory

Unread post by BadPritt » Thu Apr 18, 2019 8:52 am

You are right, it's the same.

But why doesn't the script make the zram?
We declare it ourselfs, we say to use 1 zram device.

The script doesn't work.
Normally you just need to install the script and reboot to have zram. Here that's not working.

That's why I try to figure out how the script does it. To emulate it to see if this is the problem, but I think the problem is somewhere else. Since swap files do the same...

Post Reply

Return to “Ubuntu”

Who is online

Users browsing this forum: Google [Bot], Philos and 0 guests