Page 2 of 13

Re: Kernel 4.19

Posted: Thu Aug 16, 2018 8:11 pm
by Skateman
No problem at all Christian :-)

Keep up the good work!

Re: Kernel 4.19

Posted: Thu Aug 16, 2018 8:32 pm
by Skateman
I stumbled upon this Github DPAA ethernet link. https://github.com/opencomputeproject/o ... rnet.patch

In this link i found a piece of text that looked a bit like the issues the X5000 is having with the DPAA adapter.

config FSL_DPAA_CS_THRESHOLD_1G
+ hex "Egress congestion threshold on 1G ports"
+ range 0x1000 0x10000000
+ default "0x06000000"
+ ---help---
+ The size in bytes of the egress Congestion State notification threshold on 1G ports.
+ The 1G dTSECs can quite easily be flooded by cores doing Tx in a tight loop (Traffic that stops)
+ (e.g. by sending UDP datagrams at "while(1) speed"),
+ and the larger the frame size, the more acute the problem.
+ So we have to find a balance between these factors:
+ - avoiding the device staying congested for a prolonged time (risking
+ the netdev watchdog to fire - see also the tx_timeout module param);
+ - affecting performance of protocols such as TCP, which otherwise
+ behave well under the congestion notification mechanism;
+ - preventing the Tx cores from tightly-looping (as if the congestion
+ threshold was too low to be effective);
+ - running out of memory if the CS threshold is set too high. (out of bufferspace ??? )

Here a link to a video i made a while ago where you can see the traffic die.. https://drive.google.com/file/d/15I5TDQ ... 3e7S7LWlOE

Unfortunatly i dont have the skills to fix this... if its related ..

Re: Kernel 4.19

Posted: Fri Aug 17, 2018 12:41 pm
by xeno74
Hi All,

Here is the alpha4 for testing. :-)

New:
Download: vmlinux-4.19-alpha4-AmigaOne_X1000_X5000.tar.gz

Please test it.

Thanks,
Christian

Re: Kernel 4.19

Posted: Fri Aug 17, 2018 2:55 pm
by Skateman
Alpha 4 is fine, the DPAA patch did not solve the issue! thanks a lot for adding the patch anyway Christian.

Image

Re: Kernel 4.19

Posted: Fri Aug 17, 2018 7:17 pm
by xeno74
Skateman wrote:Alpha 4 is fine, the DPAA patch did not solve the issue! thanks a lot for adding the patch anyway Christian.
Thank you for testing!

Re: Kernel 4.19

Posted: Sat Aug 18, 2018 5:30 pm
by xeno74
Hi All,

I compiled the alpha5 of kernel 4.19 with the first PowerPC updates today.

New:
Download: vmlinux-4.19-alpha5-AmigaOne_X1000_X5000.tar.gz

Please test it.

Thanks,
Christian

Re: Kernel 4.19

Posted: Sat Aug 18, 2018 10:33 pm
by Skateman
Alpha 5 Up and Running on my X5000!

Image

Re: Kernel 4.19

Posted: Sun Aug 19, 2018 7:52 am
by xeno74
Skateman wrote:Alpha 5 Up and Running on my X5000!
Thanks a lot for testing the alpha5! :-)

Re: Kernel 4.19

Posted: Sun Aug 19, 2018 6:17 pm
by xeno74
Hi All,

I released the alpha6 of kernel 4.19 for the X5000, X1000, and for virtual e5500 QEMU machines today.

New:
Download: vmlinux-4.19-alpha6-AmigaOne_X1000_X5000.tar.gz

Please test it.

Thanks,
Christian

Re: Kernel 4.19

Posted: Sun Aug 19, 2018 7:10 pm
by Skateman
Alpha 6 up and running on the X5000. :-)

Image