* [Cake] a possible optimization
@ 2017-12-02 4:28 Dave Taht
0 siblings, 0 replies; only message in thread
From: Dave Taht @ 2017-12-02 4:28 UTC (permalink / raw)
To: Cake List
// This will cross one cache line per queue
struct cake_tin {
struct cake_flow flows;
u32 backlogs;
u32 tags; /* for set association */
u16 overflow_idx;
struct cake_host hosts; /* for triple isolation */
};
struct cake_tin_data {
// The prior layout crossed 6.
struct cake_tin queue[CAKE_QUEUES];
...
// abandon all hope ye who refactor here.
--
Dave Täht
CEO, TekLibre, LLC
http://www.teklibre.com
Tel: 1-669-226-2619
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-02 4:28 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-02 4:28 [Cake] a possible optimization Dave Taht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox