Commit Graph

9 Commits

Author SHA1 Message Date
Wilhelm Schuermann
ad81810fd3 FS: Fix performance on high latency systems
fseek() in File::append() was invalidating the file buffer for each call
to append().  Better handling improves "import" performance test by 9%,
45% in "commit", on a system with a spinning disk.

This performance problem affects all operations where
{pending,completed}.data are rewritten.  During normal operation a
garbage collection can be enough to trigger it.  On storage with high
latency, e.g. networked, this previously took 20 seconds and more.
2015-11-11 08:48:51 +01:00
Paul Beckingham
0b3d38b0e6 FS: Removed unnecessary include 2015-11-06 18:22:45 -05:00
Paul Beckingham
5c8b7148b4 Task: Moved include to top of list, per flint++ recommendation 2015-11-01 19:59:10 -05:00
Paul Beckingham
af49564194 FS: Removed unused ::write and ::append methods 2015-10-28 20:38:41 -04:00
Paul Beckingham
67c28b7015 FS: Removed unused ::read method 2015-10-28 11:09:38 -04:00
Paul Beckingham
411c735d4e FS: Removed unused ::openAndLock method 2015-10-28 11:06:38 -04:00
Paul Beckingham
342624f272 FS: Removed unused ostream operator<< 2015-10-28 11:02:29 -04:00
Paul Beckingham
5110a83efa Cleanup: Corrected object initialization using {} 2015-10-16 08:22:03 -04:00
Paul Beckingham
3e043291f0 Cleanup: Combined File, Path and Directory into FS
- The three objects are related and always travel together, so they are now
  combined.
2015-05-25 10:11:41 -04:00