Latest attempt at merging the throttles code. Brushed off the spiderwebs, fixed some atomics issues; everything looks good right now.
Works fine with an OSS; throttles don't apply for AIO or SendFile. Not sure what I'd need to do for either of those.
You can merge this Pull Request by running
git pull https://github.com/bbockelm/xrootd throttles-nov-2014
Or view, comment on, or merge it at:
https://github.com/xrootd/xrootd/pull/165
Commit Summary
- First version of the throttle manager.
- Begin to integrate throttle manager into Xrootd daemon.
- Hook throttling mechanism into server buffer management.
- Handle throttles correctly for sendfile/mmap case. Hook throttle IDs into file UID.
- Debug AIO and normal IO throttling.
- Separate throttle manager from buffer manager. Implement username hash algorithm.
- Fix parsing of the IOPS configuration string.
- Implement ability to track IO load. Implement ability to shed load when throttles are hit.
- Fix IO load calculation bugs.
- Log loudly when we load-shed a client.
- Fix Linux compilation issues.
- Revert change to rpCheck const'ness.
- Creation of the basic throttle SFS plugin classes.
- Further remove old implementation from Xrd and XrdXrootd. Finish implementation of XrdThrottle SFS.
- Finish implementation of throttling plugin.
- Add XrdThrottle to packaging.
- Merge branch 'master' into throttles_v2
- Add link to XrdOfs directly to prevent complaints from Mac OS X linker.
- Remove unnecessary linking of throttle manager.
- Merge branch 'master' into throttles_v2
- Fix small compilation issues from new atomics and warnings.
- Use SFS from Xrootd, if available.
File Changes
Patch Links:
—
Reply to this email directly or view it on GitHub.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1