Throttle client requests on OSD
See Jim Schutt's issue on the mailing list and simple patch to illustrate the problem.
Namely, overzealous clients can fill an OSD's memory with write requests.
Implement a throttling interface in Messenger by message type, extend messages to share usage info with throttler, etc.
#2 Updated by Greg Farnum almost 9 years ago
- Status changed from In Progress to Feedback
Pushed to msgr, commit 800da082ad8aad032ff5299b5ad0c05bc378a1e3.
This definitely, definitely does not set a hard memory limit on OSD usage, but you can control it a bit -- in testing with rados bench I found that setting 100MB aside for clients kept OSD memory usage <300MB while setting it to 500MB kept usage < ~1.3GB while setting it to 8GB let usage rise up near 2GB (all on the same test, run locally).