You are not logged in.

#1 2014-12-21 13:51:00

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Is linux-ck good for a portable system?

Hello,

I came across the linux-ck project on the wiki, and it looks very interesting.

I am using a full install to my usb (with grub using the --removable flag), and it is currently working very well.
The linux-ck kernel seems to be more hardware-specific - would I still be able to boot it on an average EFI-compatible computer without having to adjust it?

On a sidenote, how is the BFS scheduler for battery performance?


Thanks,
Jacob.


Amateur web developer & Linux enthusiast

Offline

#2 2014-12-21 14:07:25

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is linux-ck good for a portable system?

I run it on my laptop without any noticeable change in battery life.  The cpu specific stuff has nothing to do with bfs.  They come from a totally unrelated patch.  You can just compile it yourself without modifying that option when build for the standard settings,  if you refer to [repo-ck] just dl the generic package sets.

Last edited by graysky (2014-12-21 15:36:56)

Offline

#3 2014-12-21 14:09:50

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

"I run it on my laptop with any noticeable change in battery life."
Did you mean "without"?

So repo-ck should include all the same drivers as the regular kernel?

Last edited by frash23 (2014-12-21 14:12:02)


Amateur web developer & Linux enthusiast

Offline

#4 2014-12-21 14:16:46

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is linux-ck good for a portable system?

Yes, without. Typing on my phone.  The repo just has precompiled packages. You can build your own from the AUR.  Look at the repo-ck wiki page for info.

Offline

#5 2014-12-21 14:18:51

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

Alright, I'll try out ck-generic from repo-ck.

Thanks!


Amateur web developer & Linux enthusiast

Offline

#6 2014-12-21 16:12:35

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

Hmm...

I was able to install it with no beef, but profile-sync-daemon doesn't believe that the kernel is 3.18?

http://i.imgur.com/rXUYMq8.png

Last edited by jasonwryan (2014-12-21 16:28:43)


Amateur web developer & Linux enthusiast

Offline

#7 2014-12-21 16:14:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is linux-ck good for a portable system?

Yes, I am working on this now... the problem is that your normal user does not have premissions to run /usr/bin/modprobe to insert the needed module.  My code for detecting the module can't tell the difference from that failure vs a failure to find the module... again only when run from the a non-root user.  For now, simply `modprobe overlay` and try again.  In a future release I will have the script be more verbose when you call it in as your regular user.

Offline

#8 2014-12-21 16:28:20

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Is linux-ck good for a portable system?

frash23 wrote:

Hmm...

I was able to install it with no beef, but profile-sync-daemon doesn't believe that the kernel is 3.18?

http://i.imgur.com/rXUYMq8.png


Please don't post screenshots of text: post the actual text, and read the Forum Etiquette http://wiki.archlinux.org/index.php/For … s_and_Code


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2014-12-21 16:30:32

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

Overlay does seem to be loaded already (shows up as intree: Y when i do modinfo overlay).
Running psd preview in sudo works, but overlayfs size shows up empty.

jasonwryan wrote:
frash23 wrote:

Hmm...

I was able to install it with no beef, but profile-sync-daemon doesn't believe that the kernel is 3.18?

http://i.imgur.com/rXUYMq8.png


Please don't post screenshots of text: post the actual text, and read the Forum Etiquette http://wiki.archlinux.org/index.php/For … s_and_Code

I can't copy it because it's urxvt hmm


Amateur web developer & Linux enthusiast

Offline

#10 2014-12-21 16:35:06

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Is linux-ck good for a portable system?

can't copy it because it's urxvt

...Huh?

« anoknusa »  echo 'This is urxvt'                                                        « workbox »
This is urxvt

Offline

#11 2014-12-21 16:36:07

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

ANOKNUSA wrote:

can't copy it because it's urxvt

...Huh?

« anoknusa »  echo 'This is urxvt'                                                        « workbox »
This is urxvt

The clipboard buffer urxvt is using doesn't seem to be the same as Xorg's.

I probably just need a perl extension installed, I just haven't gotten around setting it up yet x:
I'll follow the rule, don't worry.


EDIT: My issue was tmux stealing my clicks (selections disappeared when releasing LMB). Using shift-LMB works.

Last edited by frash23 (2014-12-21 22:19:26)


Amateur web developer & Linux enthusiast

Offline

#12 2014-12-21 18:17:19

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,665

Re: Is linux-ck good for a portable system?

frash23 wrote:

I can't copy it because it's urxvt hmm

Piping through wgetpaste is a really nice way to get output as well.  It even works in a non-graphical environment.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#13 2014-12-21 18:27:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is linux-ck good for a portable system?

frash23 wrote:

Overlay does seem to be loaded already (shows up as intree: Y when i do modinfo overlay).

Yes, you probably started the daemon vis systemd or you ran it via sudo which successfully loaded the module.  You can add `overlay` to /etc/modules-load.d/load_these.conf to have the system do it automatically at boot.  For more on this, see: https://wiki.archlinux.org/index.php/Ke … e_handling

frash23 wrote:

Running psd preview in sudo works, but overlayfs size shows up empty.

Yes, that is normal.  Until some data gets written, the diff is 0 bytes.  Try using the browser and run `psd p` again.

Note - I updated the man page and the wiki page:

man psd wrote:

...

FAQ
Q1: What is overlayfs and why do I want to use it?

A1: Overlayfs is a simple union file-system mainlined in the Linux kernel version 3.18.0. Starting with psd version 5.54, overlayfs can be used to reduce the memory footprint of psd's tmpfs space and to speed up sync and unsync operations. The magic is in how the overlay mount only writes out data that has changed rather than the entire profile. See Example 1 below. The same recovery features psd uses in its default mode are also active when running in overlayfs mode. Overlayfs mode is enabled by uncommenting the USE_OVERLAYFS="yes" line in /etc/psd.conf followed by a restart of the daemon.

Example 1: Below is an example running psd in parse mode on a system using overlayfs to illustrate the memory savings that can be achieved. Note the "overlayfs size" report compared to the total "profile size" report for each profile. Be aware that these numbers will change depending on just how much data is written to the profile, but in common use cases, the overlayfs size will always be less than the profile size:

% psd p

Profile-sync-daemon v5.55 on Arch Linux.

Systemd service is currently active.
Systemd resync service is currently active.
Overlayfs technology is currently active.

Psd will manage the following per /run/psd.conf settings:

browser/psname:  chromium/chromium
owner/group id:  facade/100
sync target:     /home/facade/.config/chromium
tmpfs dir:       /tmp/facade-chromium
profile size:    93M
overlayfs size:  39M

browser/psname:  firefox/firefox
owner/group id:  facade/100
sync target:     /home/facade/.mozilla/firefox/f8cv8bfu.default
tmpfs dir:       /tmp/facade-firefox-f8cv8bfu.default
profile size:    145M
overlayfs size:  13M

...

Last edited by graysky (2014-12-21 18:31:29)

Offline

#14 2014-12-21 18:51:16

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is linux-ck good for a portable system?

OK... version 5.57-1 will give more verbose output if the overlay module is not loaded:

% psd p
 The overlay module needs to be loaded to use psd in overlayfs mode.
 User facade does not have permission to run: /usr/bin/modprobe overlay
 Load it manually and try again or remove the option from /run/psd.conf.
 Note that a kernel version >=3.18.0 is required for overlayfs mode. Aborting!

Offline

#15 2014-12-21 21:43:35

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

psd preview now works without sudo - thanks!


Amateur web developer & Linux enthusiast

Offline

#16 2014-12-21 22:07:56

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,732
Website

Re: Is linux-ck good for a portable system?

Well, that's only because you loaded the module... Add it to your auto load and you're all set.  Alternately, let systemd load psd on boot with it enabled.  It's only the first time you enable it when the problem arises.

Offline

#17 2014-12-21 22:09:10

frash23
Member
From: Denmark
Registered: 2014-03-26
Posts: 49
Website

Re: Is linux-ck good for a portable system?

It's already auto-loading smile


Amateur web developer & Linux enthusiast

Offline

Board footer

Powered by FluxBB