* Network interface - allow to set kernel default qlen value
@ 2022-08-22 8:41 Jarosław Kłopotek
2022-08-23 0:36 ` Jakub Kicinski
2022-08-27 17:46 ` Cong Wang
0 siblings, 2 replies; 5+ messages in thread
From: Jarosław Kłopotek @ 2022-08-22 8:41 UTC (permalink / raw)
To: netdev
Welcome netdev's,
is it possible to set in kernel default (for example by sysctl) value of
qlen parameter for network interfaces?
I try to search: sysctl -a | grep qlen | grep default
and didn't find anything.
Now for setting the qlen - we use scripts in /etc/network/interface.
This is not so important thing - but could be improved. What do You
think about it?
--
Jarosław Kłopotek
kom. 607 893 111
Interduo Bujek Kłopotek Sowa sp.j.
ul. Krańcowa 17, 21-100 Lubartów
tel. 81 475 30 00
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network interface - allow to set kernel default qlen value
2022-08-22 8:41 Network interface - allow to set kernel default qlen value Jarosław Kłopotek
@ 2022-08-23 0:36 ` Jakub Kicinski
2022-08-23 7:59 ` Jarosław Kłopotek
2022-08-27 17:46 ` Cong Wang
1 sibling, 1 reply; 5+ messages in thread
From: Jakub Kicinski @ 2022-08-23 0:36 UTC (permalink / raw)
To: Jarosław Kłopotek; +Cc: netdev
On Mon, 22 Aug 2022 10:41:40 +0200 Jarosław Kłopotek wrote:
> Welcome netdev's,
> is it possible to set in kernel default (for example by sysctl) value of
> qlen parameter for network interfaces?
>
> I try to search: sysctl -a | grep qlen | grep default
> and didn't find anything.
>
> Now for setting the qlen - we use scripts in /etc/network/interface.
>
> This is not so important thing - but could be improved. What do You
> think about it?
What type of network interfaces are we talking about here?
Physical Ethernet links?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network interface - allow to set kernel default qlen value
2022-08-23 0:36 ` Jakub Kicinski
@ 2022-08-23 7:59 ` Jarosław Kłopotek
2022-08-23 19:27 ` Jakub Kicinski
0 siblings, 1 reply; 5+ messages in thread
From: Jarosław Kłopotek @ 2022-08-23 7:59 UTC (permalink / raw)
To: Jakub Kicinski; +Cc: netdev
W dniu 23.08.2022 o 02:36, Jakub Kicinski pisze:
> On Mon, 22 Aug 2022 10:41:40 +0200 Jarosław Kłopotek wrote:
>> Welcome netdev's,
>> is it possible to set in kernel default (for example by sysctl) value of
>> qlen parameter for network interfaces?
>>
>> I try to search: sysctl -a | grep qlen | grep default
>> and didn't find anything.
>>
>> Now for setting the qlen - we use scripts in /etc/network/interface.
>>
>> This is not so important thing - but could be improved. What do You
>> think about it?
> What type of network interfaces are we talking about here?
> Physical Ethernet links?
Ethernet links - for example:
ip a s | grep qlen
for example:
119: ens16np0.1231@ens16np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
qdisc noqueue state UP group default qlen 10000
(...)
--
Jarosław Kłopotek
kom. 607 893 111
Interduo Bujek Kłopotek Sowa sp.j.
ul. Krańcowa 17, 21-100 Lubartów
tel. 81 475 30 00
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network interface - allow to set kernel default qlen value
2022-08-23 7:59 ` Jarosław Kłopotek
@ 2022-08-23 19:27 ` Jakub Kicinski
0 siblings, 0 replies; 5+ messages in thread
From: Jakub Kicinski @ 2022-08-23 19:27 UTC (permalink / raw)
To: Jarosław Kłopotek; +Cc: netdev
On Tue, 23 Aug 2022 09:59:07 +0200 Jarosław Kłopotek wrote:
> W dniu 23.08.2022 o 02:36, Jakub Kicinski pisze:
> > On Mon, 22 Aug 2022 10:41:40 +0200 Jarosław Kłopotek wrote:
> >> Welcome netdev's,
> >> is it possible to set in kernel default (for example by sysctl) value of
> >> qlen parameter for network interfaces?
> >>
> >> I try to search: sysctl -a | grep qlen | grep default
> >> and didn't find anything.
> >>
> >> Now for setting the qlen - we use scripts in /etc/network/interface.
> >>
> >> This is not so important thing - but could be improved. What do You
> >> think about it?
> > What type of network interfaces are we talking about here?
> > Physical Ethernet links?
>
> Ethernet links - for example:
>
> ip a s | grep qlen
>
> for example:
> 119: ens16np0.1231@ens16np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500
> qdisc noqueue state UP group default qlen 10000
That looks like a vlan, or some such. I don't think changing qlen with
"noqueue" does anything.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Network interface - allow to set kernel default qlen value
2022-08-22 8:41 Network interface - allow to set kernel default qlen value Jarosław Kłopotek
2022-08-23 0:36 ` Jakub Kicinski
@ 2022-08-27 17:46 ` Cong Wang
1 sibling, 0 replies; 5+ messages in thread
From: Cong Wang @ 2022-08-27 17:46 UTC (permalink / raw)
To: Jarosław Kłopotek; +Cc: netdev
On Mon, Aug 22, 2022 at 10:41:40AM +0200, Jarosław Kłopotek wrote:
> Welcome netdev's,
> is it possible to set in kernel default (for example by sysctl) value of
> qlen parameter for network interfaces?
>
> I try to search: sysctl -a | grep qlen | grep default
> and didn't find anything.
>
> Now for setting the qlen - we use scripts in /etc/network/interface.
>
> This is not so important thing - but could be improved. What do You think
> about it?
>
I have to ask, what is wrong with setting it in your ifup script after
it is created/probed?
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-08-27 17:46 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-22 8:41 Network interface - allow to set kernel default qlen value Jarosław Kłopotek
2022-08-23 0:36 ` Jakub Kicinski
2022-08-23 7:59 ` Jarosław Kłopotek
2022-08-23 19:27 ` Jakub Kicinski
2022-08-27 17:46 ` Cong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).