You are not logged in.

#3126 2017-10-23 09:16:31

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

@inglor yes thats what I meant sorry for the confusing choice of language.

Offline

#3127 2017-10-23 09:59:07

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

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

loqs wrote:

@inglor yes thats what I meant sorry for the confusing choice of language.

No worries - I will give it a go this evening (UTC) and report back.

Offline

#3128 2017-10-23 15:15:11

hotty
Member
Registered: 2015-10-06
Posts: 11

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

Did graysky change his keys?

error: broadcom-wl-ck-sandybridge: signature from "graysky (used to sign repo-ck packages) <graysky@archlinux.us>" is invalid

Offline

#3129 2017-10-23 17:06:52

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

Second patch that makes bfq default for everything is causing an oops in qemu against the simulated floppy controller but does set the scheduler to bfq for the simulated nvme device.
@inglor should clarify it does not matter if you apply my patches before or after the ck patch it was only if you wanted to save rebuilding the whole kernel
you would need to revert the previous patch that touched block/elevator be that unfuck_bfq.patch or linux-ck.patch.
If you follow https://bbs.archlinux.org/viewtopic.php … 9#p1744649 everything will be applied in the correct order.
Edit:
the oops does not appear to be coming from my my patch after all but from CK's patch setting bfq as the default scheduler
setting the elevator to cfq prevents the oops and the scheduler is left as bfq as everything is mq (apart from the emulated floppy controller at least)

Last edited by loqs (2017-10-23 18:02:50)

Offline

#3130 2017-10-23 18:56:53

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

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

Just to confirm building `bfq-including-nvme` branch from loqs' repo works flawlessly (no floppy here).

$ cat /sys/block/sd{a,b,c,d,e}/queue/{scheduler,rotational}
mq-deadline kyber [bfq] none
0
mq-deadline kyber [bfq] none
0
mq-deadline kyber [bfq] none
1
mq-deadline kyber [bfq] none
1
mq-deadline kyber [bfq] none
1
inglor@tiamat ~$ cat /sys/block/nvme0n1/queue/scheduler
mq-deadline kyber [bfq] none

Last edited by inglor (2017-10-23 18:58:22)

Offline

#3131 2017-10-23 21:00:22

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

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

@hotty - Please try now.
@all - Some changes to dkms broke my build script and I don't have the time to debug it.  For now, I removed the virtualbox modules packages from [repo-ck].  You can build them from the AUR or I think you can use the dkms package.  I personally do not use dkms after several bad experiences with it.


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

Offline

#3132 2017-10-27 20:27:11

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

@graysky updated https://bbs.archlinux.org/viewtopic.php … 9#p1744649 bfq-including-nvme branch before noticing you had already done a 4.13.10-1
should be simple for you to diff the two if you want to merge the changes,  commit message covers what was changed.

Offline

#3133 2017-10-28 20:35:42

agm28011997
Member
Registered: 2015-05-26
Posts: 79

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

a question, are there any plans to support the architecture of btver2, ryzen and canonlake? for me the important thing is the first and the second because i am going to buy a ryzen laptop and i have other laptop with btver2, if the answer is no, can I ask if is a stadistic reason or it is other technic think like compabilities or something with btver2

Last edited by agm28011997 (2017-10-28 20:36:00)

Offline

#3134 2017-10-28 20:38:01

agm28011997
Member
Registered: 2015-05-26
Posts: 79

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

other thing, much thanks for support this kernel with this modifications, i have been using since that year and it is awesome, good job gravisky and con kolivas smile

Offline

#3135 2017-10-29 10:45:02

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

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

agm28011997 wrote:

[..] are there any plans to support the architecture of btver2, ryzen and canonlake?[..]

Currently btver2 is supported, see Repo-ck. The ryzen depends on GCC version (older versions don't support it) but for GCC 6.3+ you could export these prior to makepkg.

export CFLAGS="-march=znver1 -O2"
export CXXFLAGS="${CFLAGS}"

There are some other details for older GCC versions in Gentoo wiki. Overall it seems Ryzen still has some issues on Linux. Gentoo Troubleshoot section of Ryzen (above link) suggests there's a Gentoo and Ryzen config and stability questionnaire which has some very recent answers records so I'd be careful with Ryzen.

As for cannonlake I don't think GCC supports optimizations for them, yet (I'd probably use native if I had one.

Last edited by inglor (2017-10-29 11:23:55)

Offline

#3136 2017-10-29 12:01:18

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

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

@inglor - Thanks for the reply to agm28011997's questions.  To summarize:

1) I just added a new package group, ck-zen, that will build with the gcc's znver1 tunings.  Should be online soon.
2) GCC 7.2 does not yet have anything unique to canonlake.  If you have one of these systems, please post the output of this command: gcc -c -Q -march=native --help=target | grep march


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

Offline

#3137 2017-10-29 13:17:56

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

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

https://www.archlinux.org/news/phasing- … 6-support/

It's not clear to me if that means Nov 1st or Nov 31st, but at some point, I'll stop building the i686 packages as well... maybe with the release of the 4.14.x series.

Last edited by graysky (2017-10-29 13:18:23)


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

Offline

#3138 2017-10-29 17:32:46

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

graysky wrote:

It's not clear to me if that means Nov 1st or Nov 31st,

https://lists.archlinux.org/pipermail/a … 29001.html

Offline

#3139 2017-10-30 19:35:23

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

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

@graysky and others,

I've run into a reproducible kernel oops with linux-ck-sandybridge-4.13.10-1 upon insertion of an SD card into the onboard reader. Machine is a Lenovo X220, which continues to run following the oops but cannot mount the SD card and the system load across 1, 5 and 15 mins climbs to, and remains at, ~2.0. The machine immediately hangs on shutdown once this happens, requiring a hard power off to go completely down.

No such problem on the most current Arch kernel.

Apologies for the absence of error messages but I switched to a USB card reader after it happened a 2nd time (and would rather not provoke it again).

Anyone else able to reproduce this?

Thanks in advance!

Last edited by halocaridina (2017-10-30 22:30:22)


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#3140 2017-10-30 20:27:23

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

@halocarinda can you check the journal for the boot with the oops,  was the oops in

BUG: unable to handle kernel NULL pointer dereference at 0000000000000014
IP: blk_mq_init_sched+0x37/0x150

If so it is 0015-Enable-and-make-BFQ-default-IO-scheduler-overriding-.patch again.
Edit:
spelling check not heck

Last edited by loqs (2017-10-30 20:27:43)

Offline

#3141 2017-10-30 22:29:08

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

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

@loqs,

Thank you for the quick reply. I should have been clearer that the reason I didn't have error messages to post, and rather not provoke it again, is that no record of the kernel oops was recorded by the journal the two separate times that it happened yesterday.

But yes, the first couple of lines of the oops was identical (or nearly so) to what you posted:

BUG: unable to handle kernel NULL pointer dereference at 0000000000000014
IP: blk_mq_init_sched+0x37/0x150

along with additional stack trace/core dump info implying that mmc_core was involved. I remember it fairly clearly since I ran some searches against those exact two lines.

Thanks again and hope reporting this helps squash these latest bugs.

Last edited by halocaridina (2017-10-30 22:29:45)


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#3142 2017-10-30 22:36:07

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

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

I will revoke that patch as ck did in git and push out 4.13.10-2

EDIT: Please build it from the AUR and comment here on the stability if you would.

Last edited by graysky (2017-10-30 22:41:16)


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

Offline

#3143 2017-10-30 22:42:39

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

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

@graysky,

Great, I'll test the new kernel when released and report back.

Halocaridina

Last edited by halocaridina (2017-10-31 02:03:18)


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#3144 2017-10-30 22:48:44

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

@graysky with the next release could you switch unfuck_bfq.patch to https://raw.githubusercontent.com/loqs/ … ault.patch
the current patch does not work as #if defined(CONFIG_ZEN_INTERACTIVE) && defined(CONFIG_IOSCHED_BFQ) is false even if that was true it would only change none NVME's.

Offline

#3145 2017-10-30 23:33:05

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

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

@loqs - I swapped in your patch in 4.13.10-3.


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

Offline

#3146 2017-10-31 01:02:55

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

@graysky thank you
@halocaridina you should get bfq on all devices that support mq now meaning those that did not cause the oops previously.

Offline

#3147 2017-10-31 02:14:37

halocaridina
Member
From: US
Registered: 2014-07-21
Posts: 77

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

@loqs,

Thank you for the info. I'm currently using the compiled kernels from repo-ck.com, so will test when 4.13.10-3 hits that repo.

More soon.


4X Intel(R) Xeon(R) CPU E7-8870 @ 2.40GHz; 256GiB; 11TB EXT4; SL6.8
2X Intel(R) Xeon(R) CPU E5-2680 @ 2.70GHz; 256GiB; 3.4TB EXT4; SL6.8
Thinkpad X250; Broadwell-ULT Core i5; 8GiB, 525GB Crucial_CT525MX3; Arch
Thinkpad T440S; Haswell-ULT Core i7; 12GiB, 512GB SanDisk X210; Arch

Offline

#3148 2017-10-31 09:18:34

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

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

@halo - my thought was that you could try it and report back then I would build and push to the repo.


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

Offline

#3149 2017-10-31 10:51:42

loqs
Member
Registered: 2014-03-06
Posts: 17,196

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

@graysky needs CONFIG_SCSI_MQ_DEFAULT=Y to switch as many devices as possible to MQ as noted by mrkline on comment on AUR page.
Edit:
same result can be achieved by using the boot option scsi_mod.use_blk_mq=1
Edit2:
linux-ck 4.13.10-3 NVME's get bfq,  everything else uses cfq with scsi_mod.use_blk_mq=1 many other devices use bfq,
either way no OOPS.  OOPS is still producible but now requires the option elevator=bfq or elevator=kyber or elevator=mq-deadline and  the queue to be in none mq mode.
The OOPS being possible should be fixed in 4.15 with https://git.kernel.org/pub/scm/linux/ke … d88730f8c7
Edit3:
For the benefit of mrkline in the diff for 4.13.10-2 https://aur.archlinux.org/cgit/aur.git/ … 8bdbbd0e31
-CONFIG_SCSI_MQ_DEFAULT=y
+# CONFIG_SCSI_MQ_DEFAULT is not set
so unless you device is NVME the elevator choice will be cfq,deadline,noop with cfq default,  as a posted in my first edit you can have bfq as default without a udev rule by using the boot option scsi_mod.use_blk_mq=1
or altering the .config to set CONFIG_SCSI_MQ_DEFAULT and rebuilding the kernel.
The revert of CK's patch 0015-Enable-and-make-BFQ-default-IO-scheduler-overriding-.patch prevents an oops if the queue is not mq.
Switching unfuck_bfq.patch to unfuck_bfq_v2.patch just made bfq the default instead of mq-deadline or none for mq enabled queues.
You can switch the patches back to verify all this if you want to use CK's patch you can prevent the oops by applying https://git.kernel.org/pub/scm/linux/ke … d88730f8c7
CK's patch would then do nothing but print errors if the queue was not mq and nothing if the queue was mq you would also need to adjust unfuck_bfq.patch or unfuck_bfq_v2.patch  if you wanted to use them in combination.

Last edited by loqs (2017-10-31 18:19:00)

Offline

#3150 2017-10-31 19:30:35

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

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

@loqs - Does 4.13.10-3 represent the most general solution to this problem in your opinion?


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

Offline

Board footer

Powered by FluxBB