Tried just the kernel but for whatever reason the NIC didn't start. Anyway I made a new image and am testing it now, results in a few minutes. It's stayed up for 150 seconds so far which bodes well. Check out that stability, 600 seconds! http://pastebin.com/GLzMQFs2 Now I'll move iperf off core 3: http://pastebin.com/fmj8gL4F
Still not perfect but good enough for my purposes. Let's try the other way: http://pastebin.com/95mFBs0V
Hmm 718mbit vs 835 without the patch. Next up let's mess with the RPS values, the default is 0 for both:
root@orangepiplus:~# cat /proc/sys/net/core/rps_sock_flow_entries
0
root@orangepiplus:~# cat /sys/class/net/eth0/queues/rx-0/rps_flow_cnt
0
First up, 32768 for both. Results? OPi to thinkpad sees 720 for a while, rising to 870 before dropping back down. That makes sense as the inbound queue is the only one changing. I'll only mention it if it gets interesting from here: http://pastebin.com/k7sEZC48 Inbound is where the interesting numbers should be at and indeed they are, 937mbit average! That's with iperf on cores 0-2 btw: http://pastebin.com/6HZGDYqz So the question is how do we improve outbound? *edit* I reran the outbound test and got 870 continuously. Separate note, I'm still trying to get booting from eMMC working. nand-sata-install is the latest version, boot.cmd uses UUIDs so the advice here doesn't work: http://forum.armbian.com/index.php/topic/2082-banana-pi-m2-with-system-on-emmc-data-on-sd-card/
Observed behaviour is that with just running nand-sata-install then trying to boot from eMMC I get no green light on the board. If I then follow the uboot copying advice found in the following post I get a green light but... that's it, the NIC never fires up, I can't tell whether anything else happens: http://forum.armbian.com/index.php/topic/2046-vanilla-kernel-on-opi-pc-install-to-emmc/?p=15685
*edit* Found it! So the nand-sata-install script, it writes to /mnt/bootfs/etc/fstab and adds a line saying mount this UUID at / and that works. However, the one in /mnt/rootfs/etc/fstab still uses names, mmcblk2. Change it to use UUIDs too and it works, basically just copy /mnt/bootfs/etc/fstab over /mnt/rootfs/etc/fstab.