LinuxCNC compatible industrial PC

More
1 year 4 months ago #329698 by PCW
What do you think about these values, and if they are good, are there any other tests you can recommend for this PC before I go all-in?

They are OK, the 0.494 is not great

Did you change the host static IP address to say 10.10.10.100 when you tested the 7I94T at 10.10.10.10?

You can check the EEPROM IP address with:

mesaflash --device ethernet --addr 192.168.1.121 --verbose

You should get something similar to this:

snip
  [space 2] Ethernet eeprom:
    mac address: 00:60:1B:16:08:00
    ip address: 10.10.10.10
    board name: 7I96S
    user leds: Hostmot2

 

Please Log in to join the conversation.

More
1 year 4 months ago #329700 by workshop54
Yes, the eeprom ip address is 10.10.10.10
Code:
$ mesaflash --device ethernet --addr 192.168.1.121 --verbose ETH device 7I94T at ip=192.168.1.121 Communication:   transport layer: ethernet IPv4 UDP   ip address: 192.168.1.121   mac address: 00:60:1B:18:80:0F   protocol: LBP16 version 3 Board info:   Flash size: 16Mb (id: 0x14)   Connectors count: 2   Pins per connector: 21   Connectors names: Expansion+Serial 0..1 Serial 1..7   FPGA type: T20F256   Number of leds: 4 Board firmware info:   memory spaces:     0: HostMot2 (registers, RW, 32-bit) [size=64K]     1: KSZ8851 (registers, RW, 16-bit) [size=256]     2: EtherEEP (EEPROM, RW, 16-bit) [size=128], page size: 1, erase size: 1     3: FPGAFlsh (flash, RW, 32-bit) [size=16M], page size: 256, erase size: 65536     4: Timers (memory, RW, 16-bit) [size=16]     6: LBP16RW (memory, RW, 16-bit) [size=16]     7: LBP16RO (memory, RO, 16-bit) [size=16]   [space 0] HostMot2   [space 2] Ethernet eeprom:     mac address: 00:60:1B:18:80:0F     ip address: 10.10.10.10     board name: 7I94T     user leds: eth debug   [space 3] FPGA flash eeprom:     flash size: 16Mb (id: 0x14)   [space 4] timers:     uSTimeStampReg: 0x93D1     WaituSReg: 0x0000     HM2Timeout: 0x0000   [space 6] LBP16 control/status:     packets received: all 43523, UDP 4, bad 0     packets sent: all 43423, UDP 4, bad 0     parse errors: 0, mem errors 0, write errors 0     error flags: 0x0000     debug LED ptr: 0x0008     scratch: 0x0000   [space 7] LBP16 info:     board name: 7I94T     LBP16 protocol version 3     board firmware version 18     IP address jumpers at boot: fixed 192.168.1.121

Do you know if there is anything I can do to make the connection faster?

I also did some tests on my laptop (which has latency errors all the time), and it came back with slightly worse values:
Code:
$ sudo chrt 99 ping -i .001 -q -c 60000 192.168.1.121 PING 192.168.1.121 (192.168.1.121) 56(84) bytes of data. --- 192.168.1.121 ping statistics --- 60000 packets transmitted, 60000 received, 0% packet loss, time 60025ms rtt min/avg/max/mdev = 0.141/0.263/0.571/0.023

Please Log in to join the conversation.

More
1 year 4 months ago #329708 by PCW
You can try pinning the IRQ to the last processor
(and using the appropriate isolcpus line in the kernel command line)

0.494 might be OK, probably need to try, worst case, you might
need to slow down the servo thread to say 1.5 or 2 ms
 

Please Log in to join the conversation.

Time to create page: 0.034 seconds
Powered by Kunena Forum