Log of /trunk/io/dcache/src/TDCacheFile.cxx
Parent Directory
Revision
35358 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Sep 17 09:58:04 2010 UTC (4 years, 4 months ago) by
rdm
File length: 20645 byte(s)
Diff to
previous 34444
As fOffset is now used in TFile to cache the Seek offset on the buffer
level, the many plugins that used the same fOffset on the SysSeek level
were broken.
Revision
34444 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 16 02:17:39 2010 UTC (4 years, 6 months ago) by
pcanal
File length: 20809 byte(s)
Diff to
previous 32076
Avoid doing seeks on the physical file reprensation when it is not absolutely necessary
(i.e. it is not need if we are going to pick the data from our cache).
Introduce a SetOffset to change fOffset (i.e. the logical position in the file) without doing a lseek.
Introduce ReadBuffer(char * buf, Long64_t pos, Int_t len) to avoid the lseek when the data is in the cache.
See <http://savannah.cern.ch/bugs/?69845>
Revision
26184 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Nov 14 07:59:14 2008 UTC (6 years, 2 months ago) by
rdm
File length: 19989 byte(s)
Diff to
previous 24902
From Tigran:
this patch enables 8k read ahead buffer for dcap.
The vector read are not affected. The patch turns client into active
mode, which makes dcap access more firewall friendly.
Revision
19313 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Wed Jul 11 15:28:44 2007 UTC (7 years, 6 months ago) by
rdm
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 19821 byte(s)
Diff to
previous 19269
From Tigran:
ReadBuffers() with vector read is implemented.
Today we have released new dcache version 1.7.0-39 with this functionality.
I have tried with root version 5.14, 5.15 and 5.16. It's amazing! On some
applications I got up ti 12 times performance increase!
Revision
19269 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Jul 6 10:39:19 2007 UTC (7 years, 6 months ago) by
pcanal
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 19228 byte(s)
Diff to
previous 15572
Work around the missing 'vector read' in the DCache protocol by requesting
all the needed data in a single sequential read request (aka reading too
much data but reducing the number of messages). This improves performances
by a factor 20 to 50 depending on network topology.
Revision
15572 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jun 27 14:36:28 2006 UTC (8 years, 6 months ago) by
brun
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 17930 byte(s)
Diff to
previous 14620
-Rename class TFilePrefetch -> TFileCacheRead
-Rename class TTreeFilePrefetch -> TTreeCache
-Add new class TFileCacheWrite that implements automatic caching
when writing network files. This class replaces the previous class TCache.
-old TCache class deleted.
-TFileCacheRead can read buffers from the wite cache in TFileCacheWrite.
-As a result TFile::UseCache is obsolete. The function is kept for
backward compatibility.
-Remove references to TCache from TXMLFile, TSQLFile, TwebFile, TNetFile
-remove pointer TFile::fCache
-Add pointers TFile::fCacheRead and TFile::fCacheWrite
-Remove members fMaxCacheSize and fPageSize from TChain
NOTE that it is recommended to
rm -f base/src/*.d base/src/*.o
rm -f net/src/*.d net/src/*.o
rm -f tree/src/*.d tree/src/*.o
Revision
10316 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Oct 15 16:55:07 2004 UTC (10 years, 3 months ago) by
rdm
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 17814 byte(s)
Diff to
previous 9982
introduce a more complete TSystem::GetPathInfo() method that takes a
new FileStat_t structure as argument. This FileStat_t structure mimics the
common struct stat. This allows for full support of the file mode bits
(via the new enum EFileModeMask and the inline function R_ISDIR(), R_ISCHR(),
R_SIBLK(), R_ISREG(), R_ISLNK(), R_ISFIFO() and R_ISSOCK()).
The TSystem derived helper clsses for the remote file access protocols
have been updated too (all already supported struct stat in their POSIX
layers). Modified rootd to also support FileStat_t. With this change we
can get rid of machine dependent file permission checking code in several
places, notably in the TGFSContainer, which now can correctly display
file attributes for remote protocols.
Revision
9508 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Jul 13 11:33:55 2004 UTC (10 years, 6 months ago) by
rdm
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 19145 byte(s)
Diff to
previous 8820
From Tigran Mkrtchyan:
finally, we have implemented dc_opendir/dc_readdir and dc_closedir
functions. The new patch allow to use regular expressions in file names
with url:
TChain hat("HAT");
hat.Add("dcap://d2cachedoor.desy.de:24125/pnfs/desy.de/h1/data/oo-2.6/04/hat.2.6.3.10dst1.c04013*.root");
hat.Draw("LPol");
The patch created against ROOT cvs head at 29.06.2004. User need a
dcap library version 1.2.30 to get it running.
Revision
8743 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Thu Apr 29 17:05:39 2004 UTC (10 years, 8 months ago) by
brun
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 19389 byte(s)
Diff to
previous 8595
From Bill Tanenbaum + Philippe
There were a couple of issues in TDCacheFile.
The number of call to dc_stat in case of opening a file in read-only
mode was 6. This patchs reduce it to 1 by checking existing and read permission
only in case of failure and by caching the size of the file.
The testing of the file in the update/create mode was incorrect in some circuntances
(this is due to gSystem->AccessPathName requiring an uri to proper work).
Revision
8595 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Fri Apr 16 17:03:04 2004 UTC (10 years, 9 months ago) by
rdm
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 17665 byte(s)
Diff to
previous 7810
fix error string propagation from TFile plugins. These plugins use SetErrorStr()
to set the error string to be used via SysError(). However, SysError() is using
TSystem::GetError() and GetError() was not looking at the error string set
via SetErrorStr(), thus RFIO errors were not properly reported. This is now
fixed in GetError().
Revision
7810 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Tue Dec 30 13:16:51 2003 UTC (11 years ago) by
brun
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 18066 byte(s)
Diff to
previous 7803
Mega patch to add support for large files (bigger than 2 GBytes)
----------------------------------------------------------------
==========>NEW VERSION 4.00/00 <===========
Because this new version has a considerable number of changes,
and new important additions by Philippe are scheduled for the coming days
we are starting a new major version 4.
-Support for large files
-Automatic schema evolution for foreign classes
-New data type Double32_t
Large files are currently tested only under Linux with gcc3.2.
Support for other systems will be gradually added in the coming days.
By default under Linux, files are created with the option LARGEFILE.
Note that when creating a Tree, the default maximum size for a Tree
is set to 1.9 GBytes. You can change this default value by calling
TTree::SetMaxTreeSize(Long64_t maxsize)
The implementation of this new feature has required changes in many places.
The files produced by this new version can still be read by old ROOT versions
if their size if smaller than 2 GBytes. And obviously, the new version
can digest old ROOT files.
WARNING: note the following backward incompatibility:
-TSystem::GetPathInfo has a new signature: (also TUnixSystem, TWinNTSystem, etc)
old: GetPathInfo(const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
new: GetPathInfo(const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
-TFile::SysSeek and TFile::SysStat have a new signature (also TNetFile, TWebFile, etc)
old: Int_t SysSeek(Int_t fd, Long_t offset, Int_t whence);
Int_t SysStat(Int_t fd, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime);
new: Long64_t SysSeek(Int_t fd, Long64_t offset, Int_t whence);
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime);
-TTree::SetMaxTreeSize has a new signature:
old: void TTree::SetMaxTreeSize(Int_t maxsize)
new: void TTree::SetMaxTreeSize(Long64_t maxsize)
All references to Seek_t have been replaced by Long64_t.
Revision
4233 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Modified
Mon Mar 25 16:43:16 2002 UTC (12 years, 10 months ago) by
rdm
Original Path:
trunk/dcache/src/TDCacheFile.cxx
File length: 13264 byte(s)
Diff to
previous 3795
New version of dCache interface by Grzegorz Mazur. The important changes
in this version are:
- contents of dcap.h is no longer included int the source, path to
dcap.h can be specified by --with-dcap-incdir during configuration,
- catch up with some minor modifications in libdcap API,
- improved error handling,
- quick'n'dirty but functional support for accessing files without
PNFS (dcap://dcachedoor...),
- preliminary support for (not yet functional in libdcap) SSL support.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
enter a numeric revision.