Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] lockup with cake and veth
@ 2018-07-06 13:17 Pete Heist
  2018-07-06 13:29 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 7+ messages in thread
From: Pete Heist @ 2018-07-06 13:17 UTC (permalink / raw)
  To: cake

[-- Attachment #1: Type: text/plain, Size: 1254 bytes --]

I don’t know if we want to call this an issue, but...

I’m seeing a lockup with cake (and also sfq, but not either pfifo or fq_codel), when run over veth devices. Two network namespaces are created, one for client and one for server, each with one veth device. Netem is added as the root qdisc with a delay of 1ms, and a leaf qdisc may be added. Lockups occur on my box when the leaf qdisc is either cake or sfq, and I'm running flent’s tcp_ndown test with >= 4 download streams. Note that I happen to be running on a quad-core.

- If no leaf qdisc is added below netem, no lockup occurs.
- If either pfifo or fq_codel is added below netem, no lockup occurs.
- If either cake or sfq is the leaf, the lockup occurs.

The symptoms (lockup with >= 4 streams on a quad-core box), and the fact that it occurs with both cake and sfq, make me think that it may simply have to do with the code not being re-entrant, which may be the case for veth, and this is just by design? maybe something that we should consider fixing but wouldn’t be a show-stopper? But that should be confirmed.

I’ll keep investigating, but am sharing the scripts I’m running meanwhile in case anyone else wants to look. See README.txt in the attached...

Pete


[-- Attachment #2: veth_cake.tgz --]
[-- Type: application/octet-stream, Size: 1415 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-07-06 22:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-06 13:17 [Cake] lockup with cake and veth Pete Heist
2018-07-06 13:29 ` Toke Høiland-Jørgensen
2018-07-06 13:34   ` Georgios Amanakis
2018-07-06 13:37   ` Pete Heist
2018-07-06 19:24     ` Pete Heist
2018-07-06 19:40       ` Dave Taht
2018-07-06 22:12         ` Pete Heist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox