Print

Print


Follow-up Comment #8, bug #100605 (project xrootd):

Hi Lukasz,

I would suggest adding a new interfaces to XrdCl::File which allow you to
read / write to a POSIX file descriptor.

Underneath, you would only need sufficient buffers to process the header and
then use the splice syscall.

It should give you a 10% performance boost (or CPU reduction, as appropriate)
and really is essential over about 2.5 Gbps or so.  It's going to be the most
efficient way to do IO when the IO is greater than 1 page in size.

It's not the simplest thing to do in the universe - in particular, it's LInux
specific, so you get into #ifdef hell.  Not the worst thing either.

Brian

    _______________________________________________________

Reply to this item at:

  <http://savannah.cern.ch/bugs/?100605>

_______________________________________________
  Message sent via/by LCG Savannah
  http://savannah.cern.ch/

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