lix/src/libstore
Eelco Dolstra fd9c77dfc7 * Use SQLite 3.7.0's write-ahead logging (WAL mode). This is a lot
faster than the old mode when fsyncs are enabled, because it only
  performs an fsync() when doing a checkpoint, rather than at every
  commit.  Some timings for doing a "nix-instantiate /etc/nixos/nixos
  -A system" after modifying the stdenv setup script:

    42.5s - SQLite 3.6.23 with truncate mode and fsync
     3.4s - SQLite 3.6.23 with truncate mode and no fsync
    32.1s - SQLite 3.7.0 with truncate mode and fsync
    16.8s - SQLite 3.7.0 with WAL mode and fsync, auto-checkpoint
            every 1000 pages
     8.3s - SQLite 3.7.0 with WAL mode and fsync, auto-checkpoint
            every 8192 pages
     1.7s - SQLite 3.7.0 with WAL mode and no fsync

  The default is now to use WAL mode with fsyncs.  Because WAL doesn't
  work on remote filesystems such as NFS (as it uses shared memory),
  truncate mode can be re-enabled by setting the "use-sqlite-wal"
  option to false.
2010-08-04 17:35:59 +00:00
..
build.cc * Allow derivations to hint that they should not be built remotely 2010-08-04 12:13:58 +00:00
derivations.cc * Don't use an ostringstream in unparseDerivation(), because it's 2010-04-21 19:25:50 +00:00
derivations.hh * Sync with the trunk. 2010-05-12 22:13:09 +00:00
gc.cc * Set gc-keep-outputs' or gc-keep-derivations' to false with 2010-03-08 21:31:42 +00:00
globals.cc * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
globals.hh * No longer block while waiting for a lock on a store path. Instead 2009-03-23 01:05:54 +00:00
local-store.cc * Use SQLite 3.7.0's write-ahead logging (WAL mode). This is a lot 2010-08-04 17:35:59 +00:00
local-store.hh * Okay, putting a lock on the temporary directory used by importPath() 2010-06-21 11:08:09 +00:00
Makefile.am * Sync with the trunk. 2010-05-12 22:13:09 +00:00
misc.cc * Sync with the trunk. 2010-05-12 22:13:09 +00:00
misc.hh * Made `nix-store -qR --include-outputs' much faster if there are 2010-01-25 17:18:44 +00:00
optimise-store.cc * Applied a patch from David Brown to prevent `nix-store --optimise' 2010-06-04 13:56:11 +00:00
pathlocks.cc * Revert r19797, and use a simpler solution: just don't monitor build 2010-02-03 21:38:41 +00:00
pathlocks.hh * Revert r19797, and use a simpler solution: just don't monitor build 2010-02-03 21:38:41 +00:00
references.cc 2009-03-30 19:35:55 +00:00
references.hh * Scan for references and compute the SHA-256 hash of the output in 2009-03-28 20:51:33 +00:00
remote-store.cc * Allow unprivileged users to do `nix-store --clear-failed-paths' and 2010-05-04 10:45:10 +00:00
remote-store.hh * Allow unprivileged users to do `nix-store --clear-failed-paths' and 2010-05-04 10:45:10 +00:00
schema.sql 2010-02-24 14:39:52 +00:00
store-api.cc * Revert r19650 (implement gc-keep-outputs by looking for derivations 2010-02-22 11:44:17 +00:00
store-api.hh * Sync with the trunk. 2010-06-21 07:55:38 +00:00
worker-protocol.hh * Allow unprivileged users to do `nix-store --clear-failed-paths' and 2010-05-04 10:45:10 +00:00