TM2 Plasma Refit

More
25 Mar 2016 03:00 #72121 by PCW
Replied by PCW on topic TM2 Plasma Refit
I didn't expect disabling the Broadcom MAC to have any effect, just that it should not be used for the RT connection

Normally Intel and Realtek MACs are fine

Please Log in or Create an account to join the conversation.

More
25 Mar 2016 04:02 #72122 by islander261
Replied by islander261 on topic TM2 Plasma Refit
Ok, I tried to use ethtool and here is what happens:
jd@plasma1 ~ $ sudo ethtool -C eth1 rx-usecs 0
[sudo] password for jd: 
Cannot get device coalesce settings: Operation not supported
jd@plasma1 ~ $ man ethtool
jd@plasma1 ~ $ ethtool eth1
Settings for eth1:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	Advertised pause frame use: Symmetric
	Advertised auto-negotiation: Yes
	Link partner advertised link modes:  10baseT/Half 10baseT/Full 
	                                     100baseT/Half 100baseT/Full 
	Link partner advertised pause frame use: Symmetric
	Link partner advertised auto-negotiation: Yes
	Speed: 100Mb/s
	Duplex: Full
	Port: MII
	PHYAD: 1
	Transceiver: internal
	Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
	Current message level: 0x00000007 (7)
			       drv probe link
	Link detected: yes
jd@plasma1 ~ $ ethtool -c eth1
Coalesce parameters for eth1:
Cannot get device coalesce settings: Operation not supported
jd@plasma1 ~ $ ethtool -i eth1
driver: e100
version: 3.5.24-k2-NAPI
firmware-version: 
bus-info: 0000:03:00.0
supports-statistics: yes
supports-test: yes
supports-eeprom-access: yes
supports-register-dump: yes
supports-priv-flags: no
jd@plasma1 ~ $ ethtool -g eth1
Ring parameters for eth1:
Pre-set maximums:
RX:		256
RX Mini:	0
RX Jumbo:	0
TX:		256
Current hardware settings:
RX:		256
RX Mini:	0
RX Jumbo:	0
TX:		128

John

Please Log in or Create an account to join the conversation.

More
25 Mar 2016 15:16 #72134 by PCW
Replied by PCW on topic TM2 Plasma Refit
Ahh I was thinking E1000 and later. You might try a Realtek 8139 based Ethernet NIC instead

What it look like is happening is the E100 driver has the "CPU saver" feature turned on
that throttles IRQs. Not something you want for real time (the ping times show the trouble)

Please Log in or Create an account to join the conversation.

More
25 Mar 2016 16:15 #72138 by islander261
Replied by islander261 on topic TM2 Plasma Refit
So does this mean I need to use a driver with NAPI disabled? From what I can find this require a recompile of the driver with the correct configuration set? As shown here:

NAPI

NAPI (Rx polling mode) is supported in the e100 driver. NAPI is enabled or disabled based on the configuration of the kernel. To override the default, use the following compile-time flags.

To enable NAPI, compile the driver module, passing in a configuration option:

make CFLAGS_EXTRA=-DE100_NAPI install

To disable NAPI, compile the driver module, passing in a configuration option:

make CFLAGS_EXTRA=-DE100_NO_NAPI install

See www.cyberus.ca/~hadi/usenix-paper.tgz for more information on NAPI.

John

Please Log in or Create an account to join the conversation.

More
25 Mar 2016 16:23 #72141 by PCW
Replied by PCW on topic TM2 Plasma Refit
Dont think this is NAPI related (The other drivers have NAPI enabled and work fine)

Probably easiest to just use a known working Ethernet NIC

RTK8111/8168/8169
Intel E1000
Intel I2XX

are all know to work OK

Please Log in or Create an account to join the conversation.

More
25 Mar 2016 16:52 #72144 by islander261
Replied by islander261 on topic TM2 Plasma Refit
Hello

Are the Realtek RTL 8100/8110 series chips supported? I am limited to low profile PCI cards.

John

Please Log in or Create an account to join the conversation.

More
25 Mar 2016 17:06 - 25 Mar 2016 17:08 #72145 by PCW
Replied by PCW on topic TM2 Plasma Refit
Yes, the RTK 8xxxs are supported, as are all 1G intel chips AFAIK

just for laughs you might try the Broadcom, it may work at 1 KHz
Last edit: 25 Mar 2016 17:08 by PCW.

Please Log in or Create an account to join the conversation.

More
26 Mar 2016 02:58 #72166 by islander261
Replied by islander261 on topic TM2 Plasma Refit
PCW

Well after playing (or what ever you want call my blind stumbling) all afternoon and not getting any improvement in the performance of the Intel Pro100 NIC using the e100 driver (3.5.24-k2 version) I switched NICs. The onboard Broadcom NIC does work with the 7I76E. Ping times ranged from .105ms to .185ms with an average of .110ms. The Intel NIC connected to my network had the same times as before +about .5ms for the delays in my network. So I think it is pretty conclusive that the problem is with the Intel NIC and e100 driver combination. I also had a go running the Gmoccapy_Plasma version of LCNC, with using the Broadcom NIC the DROs are stable and not jumping around like with the Intel NIC. I will be looking into a new NIC shortly but the present configuration will work for my desk testing.

John

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.149 seconds
Powered by Kunena Forum