You are not logged in.

#426 2011-08-30 15:03:02

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky:

There is something I think you would like to know, -pf and zen are using BFQ for 3.0 and comparing the BFQ sched files in their current kernel code against the one used by -pf in 2.6.39 return 0 changes.

Could it be that there isn't a 3.0 BFQ release because it doesn't need to be updated?

Last edited by ethail (2011-08-30 17:12:01)


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#427 2011-08-30 20:57:32

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@ethail - thanks for the heads up.  The BFQ those packages are using is a hacked version from 2.6.39.  I contacted Paolo about it a week or so ago and this is what he had to say:

Subject: pf patchset includes BFQ for 3.0?
Il 26/08/2011 9.24, graysky ha scritto:
> See here: http://pf.natalenko.name/sources/3.0/
>
> The pf patchset includes BFQ for 3.0?

Did not know it

> Did you release it yet?

Unfortunately no, I did not yet find the time to complete the new version. The bright side is that it will not be just a port to 3.0, but it will contain new improvements.

Last edited by graysky (2011-08-30 20:58:11)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#428 2011-08-31 20:07:49

LeCrayonVert
Member
Registered: 2010-09-01
Posts: 134

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky > as you can see in core repo http://mirrors.kernel.org/archlinux/core/os/x86_64/ there is a special archives *.files.tar.gz. It is needed by some tools like pkgfile wink

sudo pkgfile -u
:: Checking [core] for files list ...
No update available
:: Checking [extra] for files list ...
No update available
:: Checking [community] for files list ...
No update available
:: Checking [multilib] for files list ...
No update available
:: Checking [repo-ck] for files list ...
Warning: could not retrieve http://repo-ck.com/x86_64/repo-ck.files.tar.gz
:: Converting local repo ...
Done

I believe in a world I can and do understand. A rational universe, explained through rational means.

Offline

#429 2011-08-31 20:59:03

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@Crayon - interesting... I see, the filename differs, pkgfile wants repo-ck.files.tar.gz not repo-ck.db.tar.gz -- this is odd because I am using repo-add right out of pacman to generate the repo index.  See, this wiki page.

EDIT: I simply renamed http://repo-ck.com/x86_64/repo-ck.db.tar.gz to http://repo-ck.com/x86_64/repo-ck.files.tar.gz and pkgfile didn't complain:

: Checking [repo-ck] for files list ...
:: Downloading http://repo-ck.com/x86_64/repo-ck.files.tar.gz ...
:: Checking [router] for files list ...

Please test and let me know if this works.  If so, I can provide this file upon an update to the repo.

Last edited by graysky (2011-08-31 21:06:35)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#430 2011-09-01 16:58:41

LeCrayonVert
Member
Registered: 2010-09-01
Posts: 134

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

graysky > thx, everything works fine now wink I guess pkgfile should be adjusted to work with both .files and .db prefix...


I believe in a world I can and do understand. A rational universe, explained through rational means.

Offline

#431 2011-09-01 17:21:19

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

man repo-add wrote:

       -f, --files
           Tells repo-add also to create and include a list of the files in the specified
           packages. This is useful for creating databases listing all files in a given sync
           repository for tools that may use this information.

Offline

#432 2011-09-03 09:00:54

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Short question: Do you think about providing the interactive governor as an optional setting with your repo or pkgbuild?

Best regards!

Offline

#433 2011-09-03 09:11:22

ethail
Member
From: Spain
Registered: 2011-02-10
Posts: 225

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Lothium: That governor can break builds in 32 bits and be some kind of unstable.

Follow some discussion about it on the -pf topic:

https://bbs.archlinux.org/viewtopic.php … 25#p984825


My GitHub Page

Best Testing Repo Warning: [testing] means it can eat you hamster, catch fire and you should keep it away from children. And I'm serious here, it's not an April 1st joke.

Offline

#434 2011-09-03 09:30:39

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Ahh ok thank you very much for your answer!

Offline

#435 2011-09-03 12:42:33

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I made a little update to the first post of this thread.
*Added an index to the repo.
*Added a link to server statistics (package popularity, # of downloads, etc.) with colorful graphs.
*Simplified the post.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#436 2011-09-12 09:13:28

sxe
Member
Registered: 2009-06-04
Posts: 103

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Hi graysky, at first thx for your work and providing these packages, so i don't have to build them by myselfe.

I'm fairly new to this ck stuff and never used it before. I installed it for my i7 cpu + the nvidia counterpart and added a new entry to my menu.lst so i think i'm ready to go.
Is there anything else i should do?

Is there any good kernel benchmark you can recommend to me?

And a last question. I did read the Con Kolivas' BFS FAQ you mentioned in the arch wiki and he is only talking about BFQ (*edit ah, i think i mixed BFQ and BFS here?). What else do this patches imply?
Regarding my last question. Whats the point of this kernel when BFS is disabled, cause its not yet available for 3.*? Could you enlighten me about this too?

*edit: There seems to be a problem on my system. I cannot boot the ck kernel. After the arch logos i get a shit load of error messages and traces and stuff. Does anyone know where i can find this messages later? Any logfile? The ones in /var/log/ only seems to show the messages from the normal kernel.
The second boot did raise any errors. smile

*edit2 Some Systeminfos:
Graphics card: Nvidia GTX 275
CPU: Quadcore i7
Arch: 64bit
HD: Root sits on SSD drive

Thx

Last edited by sxe (2011-09-12 10:19:46)

Offline

#437 2011-09-12 10:51:53

gazj
Member
From: /home/gazj -> /uk/cambs
Registered: 2007-02-09
Posts: 681
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I am using p4 kernel and is working lovely.  If you like I can host a mirror at http://www.foxjames.co.uk.  Not sure if this helps our friends in China.

Offline

#438 2011-09-12 20:15:24

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@sxe - Nothing really you need to do beyond boot into it - CK has done the tuning for you.  As to benchmarks, nothing major.  The whole point of BFS is responsiveness which is difficult to benchmark.  You are the best judge of how snappy your system feels.

@gazj - Dunno what's required for a mirror; no major interest on my part but thanks for the offer.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#439 2011-09-21 01:33:47

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

It seems that Paolo has finally released yesterday the patches for the 3.0.0 kernel

http://algo.ing.unimo.it/people/paolo/d … hes/3.0.0/


Proud Arch Linux user since 2007.

Offline

#440 2011-09-21 09:43:12

sxe
Member
Registered: 2009-06-04
Posts: 103

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Is it possible to enable BFQ for all devices wthout adding "echo bfq > /sys/block/sd*/queue/scheduler" to all of them?

And an other question. Does it work with ssd devices? My root partition is a ssd for example.

Thx

Offline

#441 2011-09-21 10:28:38

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

sxe wrote:

Is it possible to enable BFQ for all devices wthout adding "echo bfq > /sys/block/sd*/queue/scheduler" to all of them?

Yeah, add elevator=bfq in your kernel line in grub IIRC.

sxe wrote:

And an other question. Does it work with ssd devices? My root partition is a ssd for example.

Thx

There's no reason it wouldn't work. smile

Last edited by Zom (2011-09-21 10:28:51)

Offline

#442 2011-09-21 12:07:21

sxe
Member
Registered: 2009-06-04
Posts: 103

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Thx Zom, will check this as soon as we get the update.

Offline

#443 2011-09-21 20:49:18

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

I just tried the BFQ thing (added the elevator line to my GRUB kernel cmd line), but apparently I don't have BFQ: hmm

[    1.535965] I/O scheduler bfq not found
[    1.864062] I/O scheduler bfq not found

I'm using the -corei7 kernel.

Last edited by MrCode (2011-09-21 20:49:42)

Offline

#444 2011-09-21 21:11:26

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

MrCode wrote:

I just tried the BFQ thing (added the elevator line to my GRUB kernel cmd line), but apparently I don't have BFQ: hmm

[    1.535965] I/O scheduler bfq not found
[    1.864062] I/O scheduler bfq not found

I'm using the -corei7 kernel.

You need to add the module to your initrd.

Offline

#445 2011-09-21 21:48:01

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Forgive my cluelessness, but I can't seem to find anywhere to do that…if I try to add it to the MODULES line in mkinitcpio.conf it just gives me a "not found" message when I try to rebuild the ramdisk:

[root@lappy486 mrcode]# mkinitcpio -g /boot/initramfs-linux-ck.img
==> Starting build: 3.0-ck
==> ERROR: module not found: `bfq'
  -> Parsing hook: [base]
…

I can't find anywhere on the wiki that describes where to add it, either…is there something I'm missing here? hmm

Looking back at previous posts, could it be because I'm on the 3.0 kernel?

graysky wrote:

@ethail - thanks for the heads up.  The BFQ those packages are using is a hacked version from 2.6.39.  I contacted Paolo about it a week or so ago and this is what he had to say:

Subject: pf patchset includes BFQ for 3.0?
    Il 26/08/2011 9.24, graysky ha scritto:
    > See here: http://pf.natalenko.name/sources/3.0/
    >
    > The pf patchset includes BFQ for 3.0?

    Did not know it

    > Did you release it yet?

    Unfortunately no, I did not yet find the time to complete the new version. The bright side is that it will not be just a port to 3.0, but it will contain new improvements.

If this is the case, then I feel stupid. tongue

Offline

#446 2011-09-21 22:58:28

Zom
Member
From: Sweden
Registered: 2007-10-27
Posts: 430

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

MrCode wrote:

Forgive my cluelessness, but I can't seem to find anywhere to do that…if I try to add it to the MODULES line in mkinitcpio.conf it just gives me a "not found" message when I try to rebuild the ramdisk:

[root@lappy486 mrcode]# mkinitcpio -g /boot/initramfs-linux-ck.img
==> Starting build: 3.0-ck
==> ERROR: module not found: `bfq'
  -> Parsing hook: [base]
…

I can't find anywhere on the wiki that describes where to add it, either…is there something I'm missing here? hmm

Looking back at previous posts, could it be because I'm on the 3.0 kernel?

graysky wrote:

@ethail - thanks for the heads up.  The BFQ those packages are using is a hacked version from 2.6.39.  I contacted Paolo about it a week or so ago and this is what he had to say:

Subject: pf patchset includes BFQ for 3.0?
    Il 26/08/2011 9.24, graysky ha scritto:
    > See here: http://pf.natalenko.name/sources/3.0/
    >
    > The pf patchset includes BFQ for 3.0?

    Did not know it

    > Did you release it yet?

    Unfortunately no, I did not yet find the time to complete the new version. The bright side is that it will not be just a port to 3.0, but it will contain new improvements.

If this is the case, then I feel stupid. tongue

Oh yeah, graysky might not have added it yet since he wanted to wait for an official patch, and that just came out recently. Sorry. smile

Offline

#447 2011-09-21 23:48:50

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@all - it's been a brutal work week and tomorrow looks no better.  I just updated the AUR package with version 3.0.0 of BFQ.  To answer the questions about why the repo package doesn't have it is simple: when I compiled the repo packages it wasn't available smile  Now that I released 3.0.4-2, I will rebuilt the repo and refresh it.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#448 2011-09-22 00:23:19

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

To answer the questions about why the repo package doesn't have it is simple: when I compiled the repo packages it wasn't available smile  Now that I released 3.0.4-2, I will rebuilt the repo and refresh it.

Awesome, thanks! big_smile

Last edited by MrCode (2011-09-22 00:33:42)

Offline

#449 2011-09-23 00:20:59

MrCode
Member
Registered: 2010-02-06
Posts: 373

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

Well, things seem to be working now: big_smile

[mrcode@lappy486 ~]$ cat /sys/block/sda/queue/scheduler
noop deadline cfq [bfq]

…but I still got an error about the bfq module not being there when pacman ran mkinitcpio after installing the new kernel.  Does this mean that BFQ has been built directly into the repo kernel, and doesn't have to be loaded as an initrd module or something? hmm

Please forgive me if I'm way off on this…I'm not exactly an expert on how the initrd system works. tongue

Last edited by MrCode (2011-09-23 00:22:54)

Offline

#450 2011-09-23 00:49:29

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

Re: unofficial linux-ck repo with cpu optimized packages is ONLINE

@Mrcode - You are 100 % spot on.  Check the wiki for the notice:

How to Enable the BFQ I/O Scheduler

Since release 3.0.4-2, the BFQ patchset is applied to the package by default. Users need only enable the BFQ scheduler to use it.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

Board footer

Powered by FluxBB