summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2020-10-23 09:30:13 +0200
committerZbigniew Kempczyński <zbigniew.kempczynski@intel.com>2021-04-13 15:44:38 +0200
commit6428c6c3a2a1c2a5a2dd4b9bde1ed1e254b31915 (patch)
tree4b591a1d480b951764e2f5c0c256065c8c67f4f8 /lib/intel_batchbuffer.c
parent9960e3d39e9e35636806f6e039b729b6dea7bdbb (diff)
lib/intel_allocator_msgchannel: Scale to 4k of parallel clients
When playing with multiprocess mode in allocator we're currently using sysvipc message queues in blocking mode (request/response). We can calculate then what is maximum depth for the queue for requested number of children. Change alters kernel queue depth to cover 4k users (1 is main thread and 4095 are children). We're still prone to unlimited wait in allocator thread (more than 4095 children successfully send the messages) but we're going to address this later. Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski@intel.com> Cc: Andrzej Turko <andrzej.turko@linux.intel.com> Cc: Dominik Grzegorzek <dominik.grzegorzek@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Acked-by: Petri Latvala <petri.latvala@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions