Project

General

Profile

Bug #173

Throttle client requests on OSD

Added by Greg Farnum almost 9 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
Start date:
06/03/2010
Due date:
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

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.

History

#1 Updated by Greg Farnum almost 9 years ago

  • Status changed from New to In Progress

Yep, working on it now.

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

#3 Updated by Sage Weil almost 9 years ago

  • Target version set to v0.21

#4 Updated by Sage Weil almost 9 years ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF