DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] eventdev DSW question
@ 2019-12-06  0:26 Venky Venkatesh
  2019-12-06  6:48 ` Jerin Jacob
  2019-12-06  8:34 ` Mattias Rönnblom
  0 siblings, 2 replies; 7+ messages in thread
From: Venky Venkatesh @ 2019-12-06  0:26 UTC (permalink / raw)
  To: dev

I see that the provision in 18.11 eventdev DSW for maximum number of queues
is

#define DSW_MAX_QUEUES (16)



   1. If the number of queues needed is to be increased to 7 bits (i.e.
   128) is there any issue (correctness, scale, performance) other than
   increased data structure size?
   2. I see that it is only used in the following structs:
      - struct dsw_evdev: struct dsw_queue queues[DSW_MAX_QUEUES];
      sizeof(struct dsw_queue) ~ DSW_MAX_FLOWS. So the total increase
      contribution here is (128-16)*DSW_MAX_FLOWS from about 0.5MB to 4MB
      - struct dsw_port: uint64_t queue_enqueued[DSW_MAX_QUEUES],
queue_dequeued[DSW_MAX_QUEUES];
      This increase is negligible (a few KB at most across all dsw_ports)
   3. So is it enough if I changed the above define? (In other words I hope
   there are no other hidden/implicit dependencies on the current value 16
   elsewhere in the code). Also I suppose the only way is to directly change
   this in the code, rite?

Thanks

-Venky

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

end of thread, other threads:[~2019-12-07 19:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-06  0:26 [dpdk-dev] eventdev DSW question Venky Venkatesh
2019-12-06  6:48 ` Jerin Jacob
2019-12-06  8:34 ` Mattias Rönnblom
2019-12-06 16:32   ` Venky Venkatesh
2019-12-06 20:37     ` Mattias Rönnblom
2019-12-06 22:22       ` Venky Venkatesh
2019-12-07 19:35         ` Mattias Rönnblom

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).