* [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
@ 2015-11-19 14:53 lee
2015-11-20 11:47 ` Mick
0 siblings, 1 reply; 16+ messages in thread
From: lee @ 2015-11-19 14:53 UTC (permalink / raw
To: gentoo-user
Hi,
does anyone know what happened to the 'Ingress Qdisc' kernel option
mentioned on [1], and what the replacement would be?
I'm trying to follow [2] to set up some simple traffic shaping with the
intention to improve VOIP quality.
[1]: https://wiki.gentoo.org/wiki/Traffic_shaping
[2]: http://shorewall.net/simple_traffic_shaping.html
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-19 14:53 [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping lee
@ 2015-11-20 11:47 ` Mick
2015-11-22 23:14 ` lee
0 siblings, 1 reply; 16+ messages in thread
From: Mick @ 2015-11-20 11:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 611 bytes --]
On Thursday 19 Nov 2015 14:53:26 lee wrote:
> Hi,
>
> does anyone know what happened to the 'Ingress Qdisc' kernel option
> mentioned on [1], and what the replacement would be?
>
> I'm trying to follow [2] to set up some simple traffic shaping with the
> intention to improve VOIP quality.
>
>
> [1]: https://wiki.gentoo.org/wiki/Traffic_shaping
> [2]: http://shorewall.net/simple_traffic_shaping.html
I'm using 4.1.12-gentoo and it contains Ingress Qdisc. Look for
NET_SCH_INGRESS:
grep -i SCH_INGRESS /usr/src/linux/.config
# CONFIG_NET_SCH_INGRESS is not set
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-20 11:47 ` Mick
@ 2015-11-22 23:14 ` lee
2015-11-22 23:39 ` Neil Bothwick
0 siblings, 1 reply; 16+ messages in thread
From: lee @ 2015-11-22 23:14 UTC (permalink / raw
To: gentoo-user
Mick <michaelkintzios@gmail.com> writes:
> On Thursday 19 Nov 2015 14:53:26 lee wrote:
>> Hi,
>>
>> does anyone know what happened to the 'Ingress Qdisc' kernel option
>> mentioned on [1], and what the replacement would be?
>>
>> I'm trying to follow [2] to set up some simple traffic shaping with the
>> intention to improve VOIP quality.
>>
>>
>> [1]: https://wiki.gentoo.org/wiki/Traffic_shaping
>> [2]: http://shorewall.net/simple_traffic_shaping.html
>
> I'm using 4.1.12-gentoo and it contains Ingress Qdisc. Look for
> NET_SCH_INGRESS:
>
> grep -i SCH_INGRESS /usr/src/linux/.config
> # CONFIG_NET_SCH_INGRESS is not set
heimdali ~ # grep NET_SCH_INGRESS /usr/src/linux/.config
heimdali ~ # uname -a
Linux heimdali 4.0.5-gentoo #8 SMP Sun Sep 27 22:52:33 CEST 2015 x86_64 Intel(R) Xeon(R) CPU X5675 @ 3.07GHz GenuineIntel GNU/Linux
So I don't have that at all. Isn't that weird? I used qdiscs years
ago, and it would seem very unlikely that the feature was removed for
this kernel version, or for some kernel versions, and then brought back
with 4.1.12. I thought it might have been replaced with something else,
yet apparently it hasn't.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-22 23:14 ` lee
@ 2015-11-22 23:39 ` Neil Bothwick
2015-11-23 11:29 ` lee
0 siblings, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2015-11-22 23:39 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 745 bytes --]
On Mon, 23 Nov 2015 00:14:36 +0100, lee wrote:
> > I'm using 4.1.12-gentoo and it contains Ingress Qdisc. Look for
> > NET_SCH_INGRESS:
> >
> > grep -i SCH_INGRESS /usr/src/linux/.config
> > # CONFIG_NET_SCH_INGRESS is not set
>
>
> heimdali ~ # grep NET_SCH_INGRESS /usr/src/linux/.config
> heimdali ~ # uname -a
> Linux heimdali 4.0.5-gentoo #8 SMP Sun Sep 27 22:52:33 CEST 2015 x86_64
> Intel(R) Xeon(R) CPU X5675 @ 3.07GHz GenuineIntel GNU/Linux
>
>
> So I don't have that at all.
Grepping .config proves nothing. If a requirement of the option is not
set, the option may not appear in .config. The only reliable test is the
search facility in make *config.
--
Neil Bothwick
(A)bort (R)etry (S)ell it
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-22 23:39 ` Neil Bothwick
@ 2015-11-23 11:29 ` lee
2015-11-23 11:35 ` Alan McKinnon
2015-11-23 12:11 ` Peter Humphrey
0 siblings, 2 replies; 16+ messages in thread
From: lee @ 2015-11-23 11:29 UTC (permalink / raw
To: gentoo-user
Neil Bothwick <neil@digimed.co.uk> writes:
> On Mon, 23 Nov 2015 00:14:36 +0100, lee wrote:
>
>> > I'm using 4.1.12-gentoo and it contains Ingress Qdisc. Look for
>> > NET_SCH_INGRESS:
>> >
>> > grep -i SCH_INGRESS /usr/src/linux/.config
>> > # CONFIG_NET_SCH_INGRESS is not set
>>
>>
>> heimdali ~ # grep NET_SCH_INGRESS /usr/src/linux/.config
>> heimdali ~ # uname -a
>> Linux heimdali 4.0.5-gentoo #8 SMP Sun Sep 27 22:52:33 CEST 2015 x86_64
>> Intel(R) Xeon(R) CPU X5675 @ 3.07GHz GenuineIntel GNU/Linux
>>
>>
>> So I don't have that at all.
>
> Grepping .config proves nothing. If a requirement of the option is not
> set, the option may not appear in .config. The only reliable test is the
> search facility in make *config.
Search facility?
I only use menuconfig and often times, it's difficult to find a
particular option I'm looking for.
Like the wiki page tells you where to look, so I look there, and the
option isn't there while others shown on the wiki page are --- very
likely using a different kernel version. Now where is the option I need
to enable? A tedious search begins ...
Is there a good way to find where options are?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 11:29 ` lee
@ 2015-11-23 11:35 ` Alan McKinnon
2015-11-23 12:11 ` Peter Humphrey
1 sibling, 0 replies; 16+ messages in thread
From: Alan McKinnon @ 2015-11-23 11:35 UTC (permalink / raw
To: gentoo-user
On 23/11/2015 13:29, lee wrote:
> Neil Bothwick <neil@digimed.co.uk> writes:
>
>> On Mon, 23 Nov 2015 00:14:36 +0100, lee wrote:
>>
>>>> I'm using 4.1.12-gentoo and it contains Ingress Qdisc. Look for
>>>> NET_SCH_INGRESS:
>>>>
>>>> grep -i SCH_INGRESS /usr/src/linux/.config
>>>> # CONFIG_NET_SCH_INGRESS is not set
>>>
>>>
>>> heimdali ~ # grep NET_SCH_INGRESS /usr/src/linux/.config
>>> heimdali ~ # uname -a
>>> Linux heimdali 4.0.5-gentoo #8 SMP Sun Sep 27 22:52:33 CEST 2015 x86_64
>>> Intel(R) Xeon(R) CPU X5675 @ 3.07GHz GenuineIntel GNU/Linux
>>>
>>>
>>> So I don't have that at all.
>>
>> Grepping .config proves nothing. If a requirement of the option is not
>> set, the option may not appear in .config. The only reliable test is the
>> search facility in make *config.
>
> Search facility?
>
> I only use menuconfig and often times, it's difficult to find a
> particular option I'm looking for.
>
> Like the wiki page tells you where to look, so I look there, and the
> option isn't there while others shown on the wiki page are --- very
> likely using a different kernel version. Now where is the option I need
> to enable? A tedious search begins ...
>
> Is there a good way to find where options are?
>
in make menuconfig, type "/" then a search string. Just like less.
Then start hunting.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 11:29 ` lee
2015-11-23 11:35 ` Alan McKinnon
@ 2015-11-23 12:11 ` Peter Humphrey
2015-11-23 12:14 ` Peter Humphrey
1 sibling, 1 reply; 16+ messages in thread
From: Peter Humphrey @ 2015-11-23 12:11 UTC (permalink / raw
To: gentoo-user
On Monday 23 November 2015 12:29:42 lee wrote:
> Neil Bothwick <neil@digimed.co.uk> writes:
> > Grepping .config proves nothing. If a requirement of the option is not
> > set, the option may not appear in .config. The only reliable test is the
> > search facility in make *config.
>
> Search facility?
>
> I only use menuconfig and often times, it's difficult to find a
> particular option I'm looking for.
Touch the / key, then enter the option name minus the CONFIG_ prefix. Case
is not sensitive.
--
Rgds
Peter
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 12:11 ` Peter Humphrey
@ 2015-11-23 12:14 ` Peter Humphrey
2015-11-23 13:02 ` Emanuele Rusconi
2015-11-23 13:30 ` Todd Goodman
0 siblings, 2 replies; 16+ messages in thread
From: Peter Humphrey @ 2015-11-23 12:14 UTC (permalink / raw
To: gentoo-user
On Monday 23 November 2015 12:11:36 Peter Humphrey wrote:
> On Monday 23 November 2015 12:29:42 lee wrote:
> > Neil Bothwick <neil@digimed.co.uk> writes:
> > > Grepping .config proves nothing. If a requirement of the option is not
> > > set, the option may not appear in .config. The only reliable test is
> > > the
> > > search facility in make *config.
> >
> > Search facility?
> >
> > I only use menuconfig and often times, it's difficult to find a
> > particular option I'm looking for.
>
> Touch the / key, then enter the option name minus the CONFIG_ prefix. Case
> is not sensitive.
I forgot to add that if more than one result is returned, they're numbered.
Then if you hit the number key of the one you want, you go straight to it.
--
Rgds
Peter
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 12:14 ` Peter Humphrey
@ 2015-11-23 13:02 ` Emanuele Rusconi
2015-11-23 13:30 ` Todd Goodman
1 sibling, 0 replies; 16+ messages in thread
From: Emanuele Rusconi @ 2015-11-23 13:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 358 bytes --]
Just a quick side note, because it doesn't seem that many people know about
it: you can use "make nconfig" instead of "make menuconfig".
It's another ncurses based interface, similar to menuconfig but different
enough to prefer one or the other.
Keep in mind that you can access the menu items with both the F1-F9 keys
and the 1-9 keys.
-- Emanuele Rusconi
[-- Attachment #2: Type: text/html, Size: 596 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 12:14 ` Peter Humphrey
2015-11-23 13:02 ` Emanuele Rusconi
@ 2015-11-23 13:30 ` Todd Goodman
2015-11-23 20:31 ` lee
1 sibling, 1 reply; 16+ messages in thread
From: Todd Goodman @ 2015-11-23 13:30 UTC (permalink / raw
To: gentoo-user
* Peter Humphrey <peter@prh.myzen.co.uk> [151123 07:15]:
> On Monday 23 November 2015 12:11:36 Peter Humphrey wrote:
> > On Monday 23 November 2015 12:29:42 lee wrote:
> > > Neil Bothwick <neil@digimed.co.uk> writes:
> > > > Grepping .config proves nothing. If a requirement of the option is not
> > > > set, the option may not appear in .config. The only reliable test is
> > > > the
> > > > search facility in make *config.
> > >
> > > Search facility?
> > >
> > > I only use menuconfig and often times, it's difficult to find a
> > > particular option I'm looking for.
> >
> > Touch the / key, then enter the option name minus the CONFIG_ prefix. Case
> > is not sensitive.
>
> I forgot to add that if more than one result is returned, they're numbered.
> Then if you hit the number key of the one you want, you go straight to it.
And when you exit from reading that selection you get back to the
results list.
It's pretty slick and sure beats looking where I "think" it should be or
grepping KConfig files.
Todd
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 13:30 ` Todd Goodman
@ 2015-11-23 20:31 ` lee
2015-11-23 20:47 ` Alan McKinnon
2015-11-23 23:08 ` Neil Bothwick
0 siblings, 2 replies; 16+ messages in thread
From: lee @ 2015-11-23 20:31 UTC (permalink / raw
To: gentoo-user
Todd Goodman <tsg@bonedaddy.net> writes:
> * Peter Humphrey <peter@prh.myzen.co.uk> [151123 07:15]:
>> On Monday 23 November 2015 12:11:36 Peter Humphrey wrote:
>> > On Monday 23 November 2015 12:29:42 lee wrote:
>> > > Neil Bothwick <neil@digimed.co.uk> writes:
>> > > > Grepping .config proves nothing. If a requirement of the option is not
>> > > > set, the option may not appear in .config. The only reliable test is
>> > > > the
>> > > > search facility in make *config.
>> > >
>> > > Search facility?
>> > >
>> > > I only use menuconfig and often times, it's difficult to find a
>> > > particular option I'm looking for.
>> >
>> > Touch the / key, then enter the option name minus the CONFIG_ prefix. Case
>> > is not sensitive.
>>
>> I forgot to add that if more than one result is returned, they're numbered.
>> Then if you hit the number key of the one you want, you go straight to it.
>
> And when you exit from reading that selection you get back to the
> results list.
>
> It's pretty slick and sure beats looking where I "think" it should be or
> grepping KConfig files.
Wow, that might save me a lot of time :)
And qdisc is extremely well hidden, I'd never have found that. It
doesn't show up unless other options are enabled: You have to know
exactly what you want to enable before even knowing that it's there.
How are we supposed to be able to configure a kernel when we can't even
see the available options anymore?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 20:31 ` lee
@ 2015-11-23 20:47 ` Alan McKinnon
2015-11-25 16:28 ` lee
2015-11-23 23:08 ` Neil Bothwick
1 sibling, 1 reply; 16+ messages in thread
From: Alan McKinnon @ 2015-11-23 20:47 UTC (permalink / raw
To: gentoo-user
On 23/11/2015 22:31, lee wrote:
> Todd Goodman <tsg@bonedaddy.net> writes:
>
>> * Peter Humphrey <peter@prh.myzen.co.uk> [151123 07:15]:
>>> On Monday 23 November 2015 12:11:36 Peter Humphrey wrote:
>>>> On Monday 23 November 2015 12:29:42 lee wrote:
>>>>> Neil Bothwick <neil@digimed.co.uk> writes:
>>>>>> Grepping .config proves nothing. If a requirement of the option is not
>>>>>> set, the option may not appear in .config. The only reliable test is
>>>>>> the
>>>>>> search facility in make *config.
>>>>>
>>>>> Search facility?
>>>>>
>>>>> I only use menuconfig and often times, it's difficult to find a
>>>>> particular option I'm looking for.
>>>>
>>>> Touch the / key, then enter the option name minus the CONFIG_ prefix. Case
>>>> is not sensitive.
>>>
>>> I forgot to add that if more than one result is returned, they're numbered.
>>> Then if you hit the number key of the one you want, you go straight to it.
>>
>> And when you exit from reading that selection you get back to the
>> results list.
>>
>> It's pretty slick and sure beats looking where I "think" it should be or
>> grepping KConfig files.
>
> Wow, that might save me a lot of time :)
>
> And qdisc is extremely well hidden, I'd never have found that. It
> doesn't show up unless other options are enabled: You have to know
> exactly what you want to enable before even knowing that it's there.
>
> How are we supposed to be able to configure a kernel when we can't even
> see the available options anymore?
>
By using a tool that *does* show you the options and how to make them
available.
The kernel devs have no desire to hold anyone's hand; they assume
(correctly IMNSHO) that anyone configuring a kernel knows what they are
doing and knows the tools to use. With that approach, sometimes the user
runs into things they can't find, and it's an acceptable price to pay.
--
Alan McKinnon
alan.mckinnon@gmail.com
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 20:47 ` Alan McKinnon
@ 2015-11-25 16:28 ` lee
0 siblings, 0 replies; 16+ messages in thread
From: lee @ 2015-11-25 16:28 UTC (permalink / raw
To: gentoo-user
Alan McKinnon <alan.mckinnon@gmail.com> writes:
> On 23/11/2015 22:31, lee wrote:
>> Todd Goodman <tsg@bonedaddy.net> writes:
>>
>>> * Peter Humphrey <peter@prh.myzen.co.uk> [151123 07:15]:
>>>> On Monday 23 November 2015 12:11:36 Peter Humphrey wrote:
>>>>> On Monday 23 November 2015 12:29:42 lee wrote:
>>>>>> Neil Bothwick <neil@digimed.co.uk> writes:
>>>>>>> Grepping .config proves nothing. If a requirement of the option is not
>>>>>>> set, the option may not appear in .config. The only reliable test is
>>>>>>> the
>>>>>>> search facility in make *config.
>>>>>>
>>>>>> Search facility?
>>>>>>
>>>>>> I only use menuconfig and often times, it's difficult to find a
>>>>>> particular option I'm looking for.
>>>>>
>>>>> Touch the / key, then enter the option name minus the CONFIG_ prefix. Case
>>>>> is not sensitive.
>>>>
>>>> I forgot to add that if more than one result is returned, they're numbered.
>>>> Then if you hit the number key of the one you want, you go straight to it.
>>>
>>> And when you exit from reading that selection you get back to the
>>> results list.
>>>
>>> It's pretty slick and sure beats looking where I "think" it should be or
>>> grepping KConfig files.
>>
>> Wow, that might save me a lot of time :)
>>
>> And qdisc is extremely well hidden, I'd never have found that. It
>> doesn't show up unless other options are enabled: You have to know
>> exactly what you want to enable before even knowing that it's there.
>>
>> How are we supposed to be able to configure a kernel when we can't even
>> see the available options anymore?
>>
>
>
> By using a tool that *does* show you the options and how to make them
> available.
Which tool is that?
> The kernel devs have no desire to hold anyone's hand; they assume
> (correctly IMNSHO) that anyone configuring a kernel knows what they are
> doing and knows the tools to use. With that approach, sometimes the user
> runs into things they can't find, and it's an acceptable price to pay.
Assuming that when someone wants to do something they already know what
they are doing and not allowing them to learn by hiding what there is to
know leads to nobody being able to do anything.
Ask around: How many people do know exactly what they are doing when
they are configuring a kernel? You only need to find one who doesn't to
prove the supposed assumption of the kernel developers wrong. And I
never really knew what I was doing when I configured a kernel. Do you?
Who does?
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 20:31 ` lee
2015-11-23 20:47 ` Alan McKinnon
@ 2015-11-23 23:08 ` Neil Bothwick
2015-11-24 6:26 ` Mick
1 sibling, 1 reply; 16+ messages in thread
From: Neil Bothwick @ 2015-11-23 23:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 694 bytes --]
On Mon, 23 Nov 2015 21:31:26 +0100, lee wrote:
> And qdisc is extremely well hidden, I'd never have found that. It
> doesn't show up unless other options are enabled: You have to know
> exactly what you want to enable before even knowing that it's there.
>
> How are we supposed to be able to configure a kernel when we can't even
> see the available options anymore?
By using the search tool. without it, all the options would show up all
the time, even those you don't want and can't enable. Hiding all
irrelevant options makes kernel configuration almost sane to manage.
--
Neil Bothwick
Unix is user-friendly. It's just very selective with who it's friends are.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping
2015-11-23 23:08 ` Neil Bothwick
@ 2015-11-24 6:26 ` Mick
2015-11-24 8:49 ` Neil Bothwick
0 siblings, 1 reply; 16+ messages in thread
From: Mick @ 2015-11-24 6:26 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: Text/Plain, Size: 799 bytes --]
On Monday 23 Nov 2015 23:08:18 Neil Bothwick wrote:
> On Mon, 23 Nov 2015 21:31:26 +0100, lee wrote:
> > And qdisc is extremely well hidden, I'd never have found that. It
> > doesn't show up unless other options are enabled: You have to know
> > exactly what you want to enable before even knowing that it's there.
> >
> > How are we supposed to be able to configure a kernel when we can't even
> > see the available options anymore?
>
> By using the search tool. without it, all the options would show up all
> the time, even those you don't want and can't enable. Hiding all
> irrelevant options makes kernel configuration almost sane to manage.
It is also worth mentioning xconfig and gconfig for a GUI-fied front end,
which also offer search options.
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2015-11-25 16:28 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-19 14:53 [gentoo-user] https://wiki.gentoo.org/wiki/Traffic_shaping lee
2015-11-20 11:47 ` Mick
2015-11-22 23:14 ` lee
2015-11-22 23:39 ` Neil Bothwick
2015-11-23 11:29 ` lee
2015-11-23 11:35 ` Alan McKinnon
2015-11-23 12:11 ` Peter Humphrey
2015-11-23 12:14 ` Peter Humphrey
2015-11-23 13:02 ` Emanuele Rusconi
2015-11-23 13:30 ` Todd Goodman
2015-11-23 20:31 ` lee
2015-11-23 20:47 ` Alan McKinnon
2015-11-25 16:28 ` lee
2015-11-23 23:08 ` Neil Bothwick
2015-11-24 6:26 ` Mick
2015-11-24 8:49 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox