tag:blogger.com,1999:blog-6469704299235308349.post3349812485618557501..comments2024-02-09T16:24:46.087+11:00Comments on -ck hacking: BFS 490, linux-4.7-ck3ckhttp://www.blogger.com/profile/02904761195451530213noreply@blogger.comBlogger65125tag:blogger.com,1999:blog-6469704299235308349.post-9925385172221410532016-09-14T21:14:54.420+10:002016-09-14T21:14:54.420+10:00@ck
Thanks, I got your submit email.@ck<br />Thanks, I got your submit email.Alfred Chenhttps://www.blogger.com/profile/03164306846702841944noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-47252288359234434102016-09-13T22:25:45.557+10:002016-09-13T22:25:45.557+10:00there are a minimun number of persons affected in ...there are a minimun number of persons affected in the mainline that is related sure to other aspects, I have freezes ONLY with the ck kernel, I have been working like 3 or 4 hours and any freeze, with the 472bfs and the oficial kernel, since the bfs 480 I can not work more than 1 hour because the system freezes totally, I am sure the problem is related to the kernel patched because always occurs with that kernel, I will test the new patch and tell you if the problem continues here.. other thing is that with my other 2 laptops, the intel core 2 duo and pildriver cpu there are any freezes, only in my desktop haswellalberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-48505428947511654992016-09-13T21:42:41.435+10:002016-09-13T21:42:41.435+10:00No problem. It's hard to keep up when I'm ...No problem. It's hard to keep up when I'm hacking this aggressively... ck4 is about to be released.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-12253522850324015242016-09-13T21:35:48.559+10:002016-09-13T21:35:48.559+10:00@Con,
safe2 seems ok. I didn't notice safe2 w...@Con,<br /><br />safe2 seems ok. I didn't notice safe2 was availble, sorry.<br /><br />br, EduardoAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-23022623560799394702016-09-13T21:17:50.412+10:002016-09-13T21:17:50.412+10:00Alberto it looks like others are affected withOUT ...Alberto it looks like others are affected withOUT -ck patches. It could just be that the latest BFS makes it happen more easily and that it's a bug from mainline. I've looked hard at all the code I put in and can't see anything wrong so far. Give -ck4 a try when it comes out (shortly.)ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-18594229594142962752016-09-13T21:08:38.228+10:002016-09-13T21:08:38.228+10:00That is probably why CFS looks ok when the load ge...That is probably why CFS looks ok when the load gets ridiculously high. It's not a fair comparison with that enabled.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-85916932276216255072016-09-13T20:26:50.410+10:002016-09-13T20:26:50.410+10:00Thanks for the explanation, and yes SCHED_AUTOGROU...Thanks for the explanation, and yes SCHED_AUTOGROUP was enabled on cfs.<br /><br />PedroAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-35609327181149331952016-09-13T19:33:14.347+10:002016-09-13T19:33:14.347+10:00https://bbs.archlinux.org/viewtopic.php?id=111715&...https://bbs.archlinux.org/viewtopic.php?id=111715&p=113<br />(see the lastest pages)alberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-20096992185871049342016-09-13T19:32:25.664+10:002016-09-13T19:32:25.664+10:00yes, the bfs 472 patch was very stable for me, any...yes, the bfs 472 patch was very stable for me, any freeze there. Other thing i was before testing again ck, the freezes come yet with browsing too, and other thing, there are people that have appeared with other architectures(silvermont ie) that have this freezes with rsync, I have the freezes with gaming, browsing playing videos.. I don't know whyalberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-71445893726854638492016-09-13T16:10:02.125+10:002016-09-13T16:10:02.125+10:00@Alfred. I can submit it if you like.@Alfred. I can submit it if you like.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-67686146914426482522016-09-13T08:01:32.712+10:002016-09-13T08:01:32.712+10:00Hey Pedro those latency figures are VERY interesti...Hey Pedro those latency figures are VERY interesting because this is now showing how BFS is able to keep the latencies bound to under human perception rates while those on CFS start to blow out when the load is only 50% higher than your number of CPUs. I don't think you need to test specific processes as you're already getting the results you need. Out of curiosity was the sched autogroups feature enabled on CFS?ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-49874024920209665622016-09-13T07:43:34.777+10:002016-09-13T07:43:34.777+10:00Thanks alberto. In that case it seems to be someho...Thanks alberto. In that case it seems to be somehow haswell related. Was bfs472 stable for you? If so I'll have to post a couple of different patchsets to see where the culprit lies.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-72890717858776854342016-09-13T07:40:44.544+10:002016-09-13T07:40:44.544+10:00it is supposed to be disabled by gravysky in the p...it is supposed to be disabled by gravysky in the pkgbuild.. and the freeze is totally, i can't do nothing, reisub is not function and the brightness can't be controled because is a desktop where I have the problems, I am testing now if the freeze only occurs with the game or can be with other things(because the other kernel with 480 and 490 bfs patch freeze many times but I have no time with this kernel for tried this.. but I think the freeze will occur with browsing and gaming too.. I will post the results as soon I will able to do, in the forum or arch there are many people with haswell desktop and this problem, but with laptop haswell appear not to be freezesalberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-88628150902722728802016-09-13T06:58:35.419+10:002016-09-13T06:58:35.419+10:00Did you add the cgroups safe2 patch? Did you add the cgroups safe2 patch? ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-21513426895674496422016-09-13T04:48:56.522+10:002016-09-13T04:48:56.522+10:00@Alberto, @Con,
I have freezes as well with 4.7.3...@Alberto, @Con,<br /><br />I have freezes as well with 4.7.3 + BFS490 (CGROUPS enabled), but I can trigger them 100% (at least it seems so) by changing laptop brightness (press fn+brightness up/down and here we go), locks up w/o blinking caps lock.<br />BUT, I can trigger that in Ubuntu 16.10 and NOT in 16.04. Of course like a LOT has changed in 16.10 compared to 16.04, so it's difficult to say (for me at least) what is the reason, but in 16.04 I haven't had any lockups so far.<br /><br />I compile kernel in 16.04 with GCC 5.4 (default which comes with 16.04) then install it to 16.04 and 16.10. Alfred has Arch, so it most likely have newest stable packages for everything, 16.10 is in development, so it has rather new stuff as well. That's the only thing in common.<br /><br />What can I do to help You to track down the problem? <br />Btw, Con, which distro/version do You use for development/testing?<br /><br />br, Eduardo<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-73612599502397349352016-09-12T07:31:50.129+10:002016-09-12T07:31:50.129+10:00Ok I've run the tests with cfs+acpi-cpufreq+pe...Ok I've run the tests with cfs+acpi-cpufreq+performance and bfs490+acpi-cpufreq+performance, which lock the cpu frequency at maximum.<br />Here are the results for increasing -j values.<br />for bfs: http://pastebin.com/MSKHPYa0<br />for cfs: http://pastebin.com/Bdjx6Dnp<br /><br />The latencies are higher and the distribution clearly becomes bimodal. Maybe it is because of kernel processes that runs at higher priority.<br />The upper bound is higher with cfs than with bfs at small -j values.<br />I've also put those data in the spreadsheet.<br /><br />With the runqlat utility it is possible to monitor the runqueue latencies for a specific PID. I was thinking of loading the system with a make, and then monitoring a specific process like a movie player or web browser. Would this be interesting ?<br /><br />Pedro<br /><br />PedroAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-59524331250543963412016-09-12T07:25:01.674+10:002016-09-12T07:25:01.674+10:00the log stops to write before the freeze or the fr...the log stops to write before the freeze or the freeze is not logged in any formalberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-23056824675089492392016-09-12T07:23:15.003+10:002016-09-12T07:23:15.003+10:00bad news I have just tested the new version in the...bad news I have just tested the new version in the gravysky repo, the kernel is freezing too, the cgroups wasn't the problem, I saw the journalctl to see if there were a problem and in the log there isn't any error before the freeze..alberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-29250082531821271702016-09-12T06:53:00.158+10:002016-09-12T06:53:00.158+10:00Great thanks. Hopefully that fixes all the crashes...Great thanks. Hopefully that fixes all the crashes people were experiencing so I can move on and do more fun development :)ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-50180856728879579602016-09-12T05:42:36.402+10:002016-09-12T05:42:36.402+10:00in the aur page gravysky has changed the pkgbuild ...in the aur page gravysky has changed the pkgbuild with the cgroups patches disable, it is only time that the repo need to put the new version.. I will test in a few hours or the next day<br />alberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-63960415780740015552016-09-12T05:41:01.887+10:002016-09-12T05:41:01.887+10:00i asked him too while others have less errors if t...i asked him too while others have less errors if the cgroups is disabled.. I will test the new kernel when he put in the repo and I will post here if the error is out or not, I am using now the bfs 472 in the older kernel for the pc with intel, the laptos haven't got this problems with freezes, I don't know why this differences with the same arch , the same packages.. the difference is the time of cpu and the cpu alberto gomez marinhttps://www.blogger.com/profile/17503198631333546101noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-30623178198334291242016-09-12T03:59:46.026+10:002016-09-12T03:59:46.026+10:00Con, second patch that does remove the code seems ...Con, second patch that does remove the code seems to fix the panic — I cannot trigger it anymore.<br /><br />I hope, that is the reasonable solution.Oleksandr Natalenkohttps://www.blogger.com/profile/12098091624630953604noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-17491026485120470512016-09-12T03:36:51.215+10:002016-09-12T03:36:51.215+10:00@Alfred:
If the patches' issue is so longstand...@Alfred:<br />If the patches' issue is so longstanding and so obvious, as Con states, you should simply post it to LKML, maybe with links to the regarding supportive posts.<br />It's not satisfying to know of a BUG people may encounter, but need not.<br /><br />BR, Manuel KrauseAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-48507684413294516232016-09-12T00:42:22.553+10:002016-09-12T00:42:22.553+10:00This would be a good sample that bfs can trigger i...This would be a good sample that bfs can trigger issues that mainline scheduler may not notice about.<br />I will submit the patch or someone plz help to submit it. Now, the skiplist in bfs is lot more interesting than this, :)Alfred Chenhttps://www.blogger.com/profile/03164306846702841944noreply@blogger.comtag:blogger.com,1999:blog-6469704299235308349.post-33926650641219808812016-09-10T22:40:00.798+10:002016-09-10T22:40:00.798+10:00Same repo. Still enables the experimental cgroups ...Same repo. Still enables the experimental cgroups feature which I know now is unstable. I've asked graysky to disable them but he's currently busy.ckhttps://www.blogger.com/profile/02904761195451530213noreply@blogger.com