KotCzarny | hmm, is there a way to make linux automatically move swapped pages from higher priority (ie. zswap) to lower priority (sdcard) depending on their age/last used/etc ? | 08:52 |
---|---|---|
bencoh | KotCzarny: could be with latest kernels | 09:18 |
KotCzarny | bencoh: where to look for? | 09:18 |
bencoh | mainline that is, unless it wasn't merged, but I kind recall reading something about that | 09:18 |
KotCzarny | it would be also useful for my old laptop | 09:18 |
bencoh | bswap/zram or stuff like that I'd say | 09:19 |
bencoh | err, not bswap | 09:20 |
bencoh | zswap | 09:20 |
bencoh | yeah I was referring to zswap (different from zram) | 09:22 |
KotCzarny | well, what i'm looking at is not backing store though of zswap but swap subsystem moving pages from one swap device to another | 09:29 |
KotCzarny | instead of using lower priority one when higher prio is full | 09:30 |
bencoh | KotCzarny: then I dunno/doubt it, maybe have a look at how they do swap with ssd and whether they implemented that kind of mechanism | 09:32 |
bencoh | although in your case I think you'd benefit more from zswap | 09:32 |
Wizzup | maybe you can set up swap on bcache | 09:33 |
Wizzup | :D | 09:33 |
bencoh | yeah, bcache :) | 09:34 |
* KotCzarny googles | 09:35 | |
bencoh | bcache probably won't help you either here tbh | 09:36 |
bencoh | well, it might, but ... | 09:36 |
KotCzarny | yeah, it doesnt free the pages | 09:36 |
Wizzup | actually it probablh will, if you make a large set of small swap files | 09:36 |
bencoh | hm? | 09:36 |
Wizzup | you said you wanted to swap pages from one device to another | 09:36 |
Wizzup | bcache will do that based on some LRU I hope | 09:37 |
KotCzarny | hmm | 09:37 |
Wizzup | alt. maybe dm-cache? not sure if it satisfies your needs | 09:37 |
KotCzarny | i'm not seeing bcache into situation with swap in zram | 09:37 |
Wizzup | say you have /dev/fast-disk and /dev/fast-slow-disk, you could have bcache use both and them have swap on top of that? | 09:39 |
Wizzup | bbiab | 09:40 |
KotCzarny | 2 swaps: 1 in zram and 1 in mmcblk | 09:41 |
KotCzarny | ideally pages should be moved out of zram when unused for long | 09:42 |
KotCzarny | onto mmcblk one | 09:42 |
KotCzarny | that way memleaks would be stored in slow device and more ram available for paging | 09:43 |
freemangordon | DocScrutinizer05: ping | 17:39 |
freemangordon | DocScrutinizer05: do you know what "ccc", "npc" and "hwc" certificates are used for? | 17:40 |
freemangordon | KotCzarny: ^^^ | 17:43 |
freemangordon | seems you know a bit about that | 17:43 |
KotCzarny | i recall that cert question | 17:43 |
KotCzarny | have you checked the channel logs? | 17:43 |
freemangordon | yes | 17:44 |
freemangordon | https://mg.pov.lt/maemo-irclog/%23maemo.2016-12-17.log.html#t2016-12-17T17:59:15 | 17:44 |
freemangordon | KotCzarny: but still, I have no idea what are those used for | 17:45 |
KotCzarny | nah, i'm just quite good with google (sometimes) | 17:45 |
freemangordon | hmm http://mobilegsm.16mb.com/reb_bb5_cpu.html | 17:46 |
KotCzarny | seems you have that problem since at least 2014 | 17:46 |
freemangordon | and "ccc" seems to be Common Configuration Certificate | 17:46 |
KotCzarny | https://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2013-10-13.log.html#t2013-10-13T15:38:43 | 17:47 |
KotCzarny | or even 2013 | 17:47 |
KotCzarny | certificate npc appears to contain GSM IMEI, bluetooth MAC and wlan MAC | 17:48 |
bencoh | :) | 17:48 |
freemangordon | Wizzup: ^^^ | 17:49 |
KotCzarny | seems jonwil might be most knowledgeable | 17:49 |
KotCzarny | see the last link | 17:49 |
freemangordon | KotCzarny: but what kind if cert is that, containg device specific data?!? | 17:49 |
KotCzarny | similar to gpg signed email? | 17:50 |
KotCzarny | to know it is legit | 17:50 |
freemangordon | hmm, seems I've asked the same question back in 2013 :D | 17:50 |
bencoh | yeah :D | 17:51 |
freemangordon | ok, still, the coversation was useful | 17:51 |
bencoh | means you're pretty consistent | 17:51 |
KotCzarny | you should take notes | 17:52 |
freemangordon | Am I not? :) | 17:52 |
KotCzarny | and put on some wiki | 17:52 |
KotCzarny | :> | 17:52 |
freemangordon | no, I'll just finish REing libsysinfo | 17:52 |
bencoh | for some people, REing is just easier that writing documentation ;) | 17:53 |
bencoh | (I'm not one of them unfortunately) | 17:53 |
KotCzarny | yeah, coding > writing docs | 17:54 |
KotCzarny | although both are important | 17:54 |
KotCzarny | hmm, there is something called libcal | 17:55 |
KotCzarny | https://bugs.maemo.org/show_bug.cgi?id=4874 | 17:56 |
KotCzarny | and apparently its open sourced | 17:57 |
Wizzup | pretty sure that's already packaged and built even on leste | 17:58 |
KotCzarny | and interesting bits moved to closed libsysinfo, lol | 17:58 |
freemangordon | KotCzarny: yes, and this is what I am REing ATM | 18:06 |
KotCzarny | figured | 18:06 |
freemangordon | but I'll stop, as we'll try to live without it | 18:06 |
KotCzarny | try asking jonwil | 18:07 |
freemangordon | KotCzarny: why not join #maemo-leste? not interested in it? | 18:07 |
freemangordon | sure will do | 18:07 |
KotCzarny | i dont have autorejoin set | 18:07 |
freemangordon | ah | 18:07 |
freemangordon | then set it :p | 18:07 |
KotCzarny | so i have to rejoin manually after i reboot my box | 18:07 |
KotCzarny | sometimes i forgot channel or two | 18:08 |
freemangordon | it is just that it's better to keep info in one place and also more people to read it | 18:08 |
freemangordon | to remind me in few years :D | 18:08 |
bencoh | haha | 18:08 |
bencoh | hmm, I never heard of Sidekick 4g before | 18:24 |
bencoh | https://en.wikipedia.org/wiki/Danger_Hiptop#T-Mobile_Sidekick_4G_(Android/Samsung) | 18:24 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!