Hm - SendData implementation was far easier than originally feared. Just pushed a new commit. In general, reviewing the code again: - mmap-based reads are disabled when throttles are loaded. - Old-style sendfile-based reads are disabled. New-style, SendData-based reads should work and be throttled correctly. - Asynchronous IO requests are converted to synchronous IO in order to be throttled. So - unless I missed something - when the throttle is loaded, all reads mechanisms are properly accounted for or disabled. For reference, in order to enable this plugin, you need to do: xrootd.fslib throttle default throttle.throttle concurrency 10 data 10485760 throttle.trace all Line 1 enables the throttle; line 2 sets the throttles to 10 outstanding IO requests and 10MB/s of data; line 3 enables all possible debugging. --- Reply to this email directly or view it on GitHub: https://github.com/xrootd/xrootd/pull/165#issuecomment-63486205 ######################################################################## 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