greybit has quit [Remote host closed the connection]
grey-bit has joined #linux-sunxi
lurchi_ has joined #linux-sunxi
liushuyu has quit [Quit: WeeChat 2.4]
<grey-bit>
I have two boards - Orange Pi R1 (H2+) and Orange Pi Zero+ (H5). On the first one there is RTL8152B USB to ethernet and on the second board I use ASIX AX88772B dongle to get a second ethernet. Both run most recent Armbian. The problem is that I can't get more than about 35Mbps from the USB ethernets. All interrupts are diverted to core0
<grey-bit>
(effective_affinity is 1) and core0 is getting to 100%. I have no problem getting 100Mbps on H2+ FastEthernet and 900Mbps on H5 GigE. Is anybody aware of the problems with USB based ethernets on H2+ or H5 and how those can be fixed?
<wens>
can affinity be changed?
<grey-bit>
smp_affinity is set to f i.e. all cores. the drivers however imposes effective_affinity to 1.
<grey-bit>
At these 35Mbps, I see about 3000 interrrupts per second. When I do 900Mbps through on-board GigE, it generates 40000 interrupts per second, also to the single core and it's handled without a glitch. So I assume that 3000 per second is not what causes the bottleneck.
<grey-bit>
It almost feels like the driver doesn't use DMA and copies the data byte by byte using CPU...
<grey-bit>
I thought it would be ASIX driver problem, but exactly the same behaviour happens on RTL usb-eth chip, so it must be something either in usbnet or deeper. or even in the CPU itself...
<wens>
no, affinity issue IIRC is a known issue of GIC
<wens>
try setting affinity of the USB hosts to just one core, other than the first
<grey-bit>
I can move them around, but the number is very small - just 3K. on board ethernet generates 40K interrupts and reaches 900Mbps...
<grey-bit>
and those 40K hit core0 without an issue...
<tuxd3v>
does any one is using the CedarC Userspace driver ?
<montjoie>
I have retried to made my pine64 working, but uboot is looping https://pastebin.com/6TYzjR3B does I need to delcare it dead ? (tryed recent uboot and still the same)
arete74 has quit [Ping timeout: 265 seconds]
arete74 has joined #linux-sunxi
lurchi__ is now known as lurchi_
Ecco has joined #linux-sunxi
<Ecco>
Hi everyone!
<Ecco>
I've gotten my hands on a F1C100s-based gaming console
<Ecco>
I'm trying to boot a custom kernel on this bad boy
<Ecco>
The good news is there's an UART port routed on the PCB
<Ecco>
The bad news is, it's routed to UART1, and all F1C100s examples assume the serial console is on UART0
<Ecco>
I managed to patch uboot to use UART1
<Ecco>
so that's great :)
<Ecco>
Unfortunately I can't seem to be able to do the same for the linux kernel
<Ecco>
I do get some boot messages if I use "earlyprintk=serial,ttyS1,115200"
<Ecco>
but using console=ttyS1,115200 doesn't give me anything…
<Ecco>
The last messages I get using "earlyprintk=" are