Update of bug #92728 (project xrootd):
Assigned to: None => abh
_______________________________________________________
Follow-up Comment #1:
As communicated before by direct mail, the XrdOucCache class does not work
properly.
1st issue is, that the XrdPosixXrootd::Close function hangs often waiting for
a semaphore to be posted:
warning: no loadable sections found in added symbol-file system-supplied DSO
at 0x7fff7c1fd000
0x0000003da6a0cd21 in sem_wait () from /lib64/libpthread.so.0
(gdb) where
#0 0x0000003da6a0cd21 in sem_wait () from /lib64/libpthread.so.0
#1 0x0000003b50420f16 in Wait (this=0x56ae980) at
/usr/src/debug/xrootd/xrootd/src/XrdSys/XrdSysPthread.hh:315
#2 XrdOucCacheData::Detach (this=0x56ae980) at
/usr/src/debug/xrootd/xrootd/src/XrdOuc/XrdOucCacheData.cc:117
#3 0x0000003b50c08d3c in XrdPosixFile::~XrdPosixFile (this=0x56a7340,
__in_chrg=<value optimized out>) at
/usr/src/debug/xrootd/xrootd/src/XrdPosix/XrdPosixXrootd.cc:393
#4 0x0000003b50c06534 in XrdPosixXrootd::Close (fildes=<value optimized
out>, Stream=0) at
/usr/src/debug/xrootd/xrootd/src/XrdPosix/XrdPosixXrootd.cc:566
#5 0x0000000000400fb8 in main (argc=2, argv=0x7fff7c16bc48) at
/root/eos-3.1.0/eos/test/XrdCpPosixCache.cc:68
Second problem is the performance. If I set 128k page size and try to do 1M
or 2M read-aheads there is only a performance penalty but never a gain.
Here is my XRDPOSIX_CACHE setting:
export
XRDPOSIX_CACHE="debug=2&mode=c&optpr=1&pagesz=128k&cachesz=1g&optlg=1&aprminp=8&aprtrig=2m&max2cache=2m"
I attach also the test program I am using. I was using the RPMS of
xrootd-client-3.2.0-0.rc1.slc5.xu
It is not urgent to fix XrdOucCache, but it is urgent to remove the automatic
disable of the standard client read ahead parameters.
(file #25106)
_______________________________________________________
Additional Item Attachment:
File name: XrdCpPosixCache.cc Size:1 KB
_______________________________________________________
Reply to this item at:
<http://savannah.cern.ch/bugs/?92728>
_______________________________________________
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
|