os: refine default USB session quota

This commit adjusts the value such that USB sessions requested by
VirtualBox6 on Sculpt OS can get established on the first try without
invoking the session-retry mechanism. This reduces the number of
diagnostic log messages like:

 Error: Insufficient 'ram_quota',got 6296372 need 6297928
This commit is contained in:
Norman Feske 2022-03-10 16:31:40 +01:00 committed by Christian Helmuth
parent fa5f8dbd55
commit b4aa0a20dd

View File

@ -1,4 +1,4 @@
/**
/*
* \brief Client connection to USB server
* \author Sebastian Sumpf
* \date 2014-12-08
@ -35,7 +35,7 @@ struct Usb::Connection : Genode::Connection<Session>, Session_client
Genode::Connection<Session>(env,
session(env.parent(),
"ram_quota=%ld, cap_quota=%ld, tx_buf_size=%ld, label=\"%s\"",
4 * 4096 + tx_buf_size, CAP_QUOTA, tx_buf_size, label)),
5 * 4096 + tx_buf_size, CAP_QUOTA, tx_buf_size, label)),
Session_client(cap(), *tx_block_alloc, env.rm(), sigh_state_changed)
{ }
};