Project

General

Profile

Actions

Bug #173

closed

Throttle client requests on OSD

Added by Greg Farnum almost 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
OSD
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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.

Actions #1

Updated by Greg Farnum almost 14 years ago

  • Status changed from New to In Progress

Yep, working on it now.

Actions #2

Updated by Greg Farnum almost 14 years ago

  • Status changed from In Progress to 4

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

Actions #3

Updated by Sage Weil almost 14 years ago

  • Target version set to v0.21
Actions #4

Updated by Sage Weil almost 14 years ago

  • Status changed from 4 to Resolved
Actions

Also available in: Atom PDF