Skip to contentSkip to conversation

Egress shaping over multiple interfaces?

LARTC Alexey Talikov 2 participants 2 messages Nov 1, 2002 4 messages not in the archive

lore
Share & tools
lore
#4 lore raw
In reply to a message not in the archive

Hello Hasso,

Thursday, October 31, 2002, 10:45:05 PM, you wrote:

HT> IMQ? I'm using it in the production. 100 IMQ devices 10 - 50 of them HT> in use. Number of devices in use is changing in boxes and I had to HT> create just enough IMQ devices. I'm using IMQ in combination with TBF HT> to get bidirectional shaping. No problems at all.

As I know max number of imq devices 16
i.e.
modprobe imq numdevs=16
Do you change this line in inclue/linux/imq.h

#define IMQ_MAX_DEVS 16

-----------------------------------
mailto:[email protected]
BR
Alexey Talikov
FORTEK
-----------------------------------

#5 lore raw
Quoted 10 lines · Alexey Talikov

Hello Hasso,

Quoted 5 lines · you

IMQ? I'm using it in the production. 100 IMQ devices 10 - 50 of them in use. Number of devices in use is changing in boxes and I had to create just enough IMQ devices. I'm using IMQ in combination with TBF to get bidirectional shaping. No problems at all.

Quoted 6 lines

As I know max number of imq devices 16
i.e.
modprobe imq numdevs=16
Do you change this line in inclue/linux/imq.h

#define IMQ_MAX_DEVS 16

Yes. AFAIK it can be max 127. There is still bug somewhere else though. modprobe imq numdevs=X fails when X>100 so you can use only devices 0-99. It was enough for me and I didn't have time to investigate.

Signature · 1 line
Hasso