To get ping time shorter

More
15 May 2020 12:52 #167835 by Clive S
I have forgotten which file to amend to add this :-

auto eth1
iface eth1 inet static
address 10.10.10.11

or dose it need only this:-

hardware−irq−coalesce−rx−usecs 0

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

More
15 May 2020 13:12 - 15 May 2020 13:17 #167836 by PCW
Replied by PCW on topic To get ping time shorter
That is the
/etc/network/interfaces
file


hardware−irq−coalesce−rx−usecs 0

Is only needed if the Ethernet interface used (eth1 in this example)
supports irq coalescing. Intel Ethernet chips are the most common
devices that require this setting,
Last edit: 15 May 2020 13:17 by PCW.
The following user(s) said Thank You: Clive S

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

More
15 May 2020 14:26 #167847 by Clive S
Replied by Clive S on topic To get ping time shorter

That is the
/etc/network/interfaces
file


hardware−irq−coalesce−rx−usecs 0

Is only needed if the Ethernet interface used (eth1 in this example)
supports irq coalescing. Intel Ethernet chips are the most common
devices that require this setting,

Re:-

cnc@cnc-machine:~/Desktop$ dmesg | grep -i eth

[ 3.021927] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 00:19:d1:e3:f0:02
[ 3.021931] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[ 3.021952] e1000e 0000:00:19.0 eth0: MAC: 6, PHY: 6, PBA No: FFFFFF-0FF
[ 3.029430] e1000e 0000:00:19.0 enp0s25: renamed from eth0


this is what I have in :- /etc/network/interfaces

auto lo
iface lo inet loopback

hardware−irq−coalesce−rx−usecs 0
.
Where do I put enp0s25 in the file

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

More
15 May 2020 14:45 #167848 by tommylight
Replied by tommylight on topic To get ping time shorter

Where do I put enp0s25 in the file

No need if you have configured network through GUI.

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

More
15 May 2020 14:58 - 15 May 2020 15:00 #167849 by PCW
Replied by PCW on topic To get ping time shorter
auto lo
iface lo inet loopback

auto enp0s25
iface enp0s25 inet static
address 10.10.10.11
hardware−irq−coalesce−rx−usecs 0
Last edit: 15 May 2020 15:00 by PCW.
The following user(s) said Thank You: Clive S

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

More
15 May 2020 14:59 #167851 by PCW
Replied by PCW on topic To get ping time shorter

Where do I put enp0s25 in the file

No need if you have configured network through GUI.


You cannot configure things like irq coalescing options via the GUI

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

More
15 May 2020 15:18 #167855 by tommylight
Replied by tommylight on topic To get ping time shorter

Where do I put enp0s25 in the file

No need if you have configured network through GUI.


You cannot configure things like irq coalescing options via the GUI

I said network, he already has coalescing where it belongs.

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

More
15 May 2020 15:28 #167856 by PCW
Replied by PCW on topic To get ping time shorter
Hardware driver settings are per device so should be in the interfaces file
under the specific device (enp0s25 in this case) you are configuring,
so no, he did not have it set properly
The following user(s) said Thank You: tommylight

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

More
15 May 2020 16:24 #167864 by Clive S
Replied by Clive S on topic To get ping time shorter

auto lo
iface lo inet loopback

auto enp0s25
iface enp0s25 inet static
address 10.10.10.11
hardware−irq−coalesce−rx−usecs 0


I now have this in the file

auto lo
iface lo inet loopback

auto enp0s25
iface enp0s25 inet static
address 10.10.10.11
hardware−irq−coalesce−rx−usecs 0

I also rebooted the pc. but not it did not bring the ping time down.
It does if I just put - sudo ethtool -C enp0s25 rx-usecs 0 -in a terminal but then it dose not save it upon reboot

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

More
15 May 2020 16:31 #167865 by PCW
Replied by PCW on topic To get ping time shorter
It looks like the

hardware-irq-coalesce-rx-usecs 0

text is corrupted (wrong dash symbol)

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

Time to create page: 0.138 seconds
Powered by Kunena Forum