|
Revision tags: 1.23, 1.22, 1.21, v1.20 |
|
| #
ea175e28 |
| 27-Feb-2017 |
costan <[email protected]> |
Implement support for Intel crc32 instruction (SSE 4.2)
This change authored by vadimskipin and submitted via:
https://github.com/google/leveldb/pull/309
Changes made to support iOS builds and
Implement support for Intel crc32 instruction (SSE 4.2)
This change authored by vadimskipin and submitted via:
https://github.com/google/leveldb/pull/309
Changes made to support iOS builds and other architectures without support for SSE 4.2.
db_bench reports original crc32 speed at:
crc32c : 3.610 micros/op; 1082.0 MB/s (4K per op)
with this change performance has increased to:
crc32c : 0.843 micros/op; 4633.6 MB/s (4K per op)
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=148694935
show more ...
|
|
Revision tags: v1.19 |
|
| #
adbe3eb0 |
| 29-Jan-2016 |
cmumford <[email protected]> |
Putting build artifacts in subdirectory.
1. Object files, libraries, and compiled executables are put into subdirectories. 2. The shared library is linked from individual object files. This pr
Putting build artifacts in subdirectory.
1. Object files, libraries, and compiled executables are put into subdirectories. 2. The shared library is linked from individual object files. This provides for greater parallelism on large desktops while at the same time making for easier builds on small (i.e. embedded) systems. Fixes issue #279. 3. One program, db_bench, is compiled using the shared library. 4. The source file for "leveldbutil" was renamed from leveldb_main.cc to leveldbutil.cc. This provides for simpler makefile rules. 5. Because all targets placed the library (libleveldb.a) at the top level, the last platform built (desktop/device) always overwrote any prior artifact. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=113407013
show more ...
|
|
Revision tags: v1.18 |
|
| #
803d6920 |
| 16-Sep-2014 |
Chris Mumford <[email protected]> |
Release 1.18
Changes are:
* Update version number to 1.18 * Replace the basic fprintf call with a call to fwrite in order to work around the apparent compiler optimization/rewrite failure that we
Release 1.18
Changes are:
* Update version number to 1.18 * Replace the basic fprintf call with a call to fwrite in order to work around the apparent compiler optimization/rewrite failure that we are seeing with the new toolchain/iOS SDKs provided with Xcode6 and iOS8. * Fix ALL the header guards. * Createed a README.md with the LevelDB project description. * A new CONTRIBUTING file. * Don't implicitly convert uint64_t to size_t or int. Either preserve it as uint64_t, or explicitly cast. This fixes MSVC warnings about possible value truncation when compiling this code in Chromium. * Added a DumpFile() library function that encapsulates the guts of the "leveldbutil dump" command. This will allow clients to dump data to their log files instead of stdout. It will also allow clients to supply their own environment. * leveldb: Remove unused function 'ConsumeChar'. * leveldbutil: Remove unused member variables from WriteBatchItemPrinter. * OpenBSD, NetBSD and DragonflyBSD have _LITTLE_ENDIAN, so define PLATFORM_IS_LITTLE_ENDIAN like on FreeBSD. This fixes: * issue #143 * issue #198 * issue #249 * Switch from <cstdatomic> to <atomic>. The former never made it into the standard and doesn't exist in modern gcc versions at all. The later contains everything that leveldb was using from the former. This problem was noticed when porting to Portable Native Client where no memory barrier is defined. The fact that <cstdatomic> is missing normally goes unnoticed since memory barriers are defined for most architectures. * Make Hash() treat its input as unsigned. Before this change LevelDB files from platforms with different signedness of char were not compatible. This change fixes: issue #243 * Verify checksums of index/meta/filter blocks when paranoid_checks set. * Invoke all tools for iOS with xcrun. (This was causing problems with the new XCode 5.1.1 image on pulse.) * include <sys/stat.h> only once, and fix the following linter warning: "Found C system header after C++ system header" * When encountering a corrupted table file, return Status::Corruption instead of Status::InvalidArgument. * Support cygwin as build platform, patch is from https://code.google.com/p/leveldb/issues/detail?id=188 * Fix typo, merge patch from https://code.google.com/p/leveldb/issues/detail?id=159 * Fix typos and comments, and address the following two issues: * issue #166 * issue #241 * Add missing db synchronize after "fillseq" in the benchmark. * Removed unused variable in SeekRandom: value (issue #201)
show more ...
|
|
Revision tags: v1.17, v1.16, v1.15 |
|
| #
0cfb990d |
| 10-Dec-2013 |
David Grogan <[email protected]> |
Release LevelDB 1.15
- switched from mmap based writing to simpler stdio based writing. Has a minor impact (0.5 microseconds) on microbenchmarks for asynchronous writes. Synchronous writes speed
Release LevelDB 1.15
- switched from mmap based writing to simpler stdio based writing. Has a minor impact (0.5 microseconds) on microbenchmarks for asynchronous writes. Synchronous writes speed up from 30ms to 10ms on linux/ext4. Should be much more reliable on diverse platforms. - compaction errors now immediately put the database into a read-only mode (until it is re-opened). As a downside, a disk going out of space and then space being created will require a re-open to recover from, whereas previously that would happen automatically. On the plus side, many corruption possibilities go away. - force the DB to enter an error-state so that all future writes fail when a synchronous log write succeeds but the sync fails. - repair now regenerates sstables that exhibit problems - fix issue 218 - Use native memory barriers on OSX - fix issue 212 - QNX build is broken - fix build on iOS with xcode 5 - make tests compile and pass on windows
show more ...
|
|
Revision tags: v1.14, v1.13, v1.12, v1.11, v1.10 |
|
| #
28dad918 |
| 14-May-2013 |
David Grogan <[email protected]> |
Release leveldb 1.10
Fixes issues 147 - thanks feniksgordonfreeman 153 156 166
Additionally, * Remove calls to exit(1). * Fix unused-variable warnings from clang. * Fix possible overflow error rela
Release leveldb 1.10
Fixes issues 147 - thanks feniksgordonfreeman 153 156 166
Additionally, * Remove calls to exit(1). * Fix unused-variable warnings from clang. * Fix possible overflow error related to num_restart value >= (2^32/4). * Add leveldbutil to .gitignore. * Add better log messages when Write is stalled on a compaction.
show more ...
|
|
Revision tags: v1.9, v1.8 |
|
| #
ea2e9195 |
| 27-Dec-2012 |
Sanjay Ghemawat <[email protected]> |
added utility to dump leveldb files
|
|
Revision tags: v1.7 |
|
| #
40768657 |
| 16-Oct-2012 |
Sanjay Ghemawat <[email protected]> |
Small fixes.
Details: * Fix shared library building. * Reorganize linking commands so flags like --as-needed can be passed. * C binding exports version numbers. * Fix small typos in documention.
|
|
Revision tags: v1.6 |
|
| #
946e5b5a |
| 12-Oct-2012 |
David Grogan <[email protected]> |
Update to leveldb 1.6
Highlights ---------- Mmap at most 1000 files on Posix to improve performance for large databases. Support for more architectures (thanks to Alexander K.)
Building and porting
Update to leveldb 1.6
Highlights ---------- Mmap at most 1000 files on Posix to improve performance for large databases. Support for more architectures (thanks to Alexander K.)
Building and porting -------------------- HP/UX support (issue 126) AtomicPointer for ia64 (issue 123) Sparc v9 support (issue 124) Atomic ops for powerpc Use -fno-builtin-memcmp only when using g++ Simplify IOS build rules (issue 114) Use CXXFLAGS instead of CFLAGS when invoking C++ compiler (issue 118) Fix snappy shared library problem (issue 94) Fix shared library installation path regression Endian-ness detection tweak for FreeBSD
Bug fixes --------- Stop ignoring FLAGS_open_files in db_bench Make bloom test behavior agnostic to endian-ness
Performance ----------- Limit number of mmapped files to 1000 to improve perf for large dbs Do not delay for 1 second on shutdown path (issue 125)
Misc ---- Make InMemoryEnv return a no-op logger C binding now has a wrapper for free (issue 117) Add thread-safety annotations Added an in-process lock table (issue 120) Make RandomAccessFile and SequentialFile non-copyable
show more ...
|
|
Revision tags: v1.5 |
|
| #
075a35a6 |
| 30-May-2012 |
Sanjay Ghemawat <[email protected]> |
Remove static initializer; fix endian-ness detection; fix build on various platforms; improve android port speed.
Avoid static initializer by using a new portability interface for thread-safe lazy i
Remove static initializer; fix endian-ness detection; fix build on various platforms; improve android port speed.
Avoid static initializer by using a new portability interface for thread-safe lazy initialization. Custom ports will need to be extended to implement InitOnce/OnceType/LEVELDB_ONCE_INIT.
Fix endian-ness detection (fixes Powerpc builds).
Build related fixes: - Support platforms that have unversioned shared libraries. - Fix IOS build rules.
Android improvements - Speed up atomic pointers - Share more code with port_posix.
Do not spin in a tight loop attempting compactions if the file system is inaccessible (e.g., if kerberos tickets have expired or if it is out of space).
show more ...
|
|
Revision tags: v1.4 |
|
| #
85584d49 |
| 17-Apr-2012 |
Sanjay Ghemawat <[email protected]> |
Added bloom filter support.
In particular, we add a new FilterPolicy class. An instance of this class can be supplied in Options when opening a database. If supplied, the instance is used to gener
Added bloom filter support.
In particular, we add a new FilterPolicy class. An instance of this class can be supplied in Options when opening a database. If supplied, the instance is used to generate summaries of keys (e.g., a bloom filter) which are placed in sstables. These summaries are consulted by DB::Get() so we can avoid reading sstable blocks that are guaranteed to not contain the key we are looking for.
This change provides one implementation of FilterPolicy based on bloom filters.
Other changes: - Updated version number to 1.4. - Some build tweaks. - C binding for CompactRange. - A few more benchmarks: deleteseq, deleterandom, readmissing, seekrandom. - Minor .gitignore update.
show more ...
|
|
Revision tags: v1.3 |
|
| #
bc1ee4d2 |
| 30-Mar-2012 |
Sanjay Ghemawat <[email protected]> |
build shared libraries; updated version to 1.3; add Status accessors
|
| #
a1ad4d19 |
| 21-Mar-2012 |
Sanjay Ghemawat <[email protected]> |
Build fixes and cleanups: (1) Separate out C++ and CC flags (fixes c_test compilation) (2) Move snappy/perftools detection to script (3) Fix db_bench_sqlite3 and db_bench_tree_db build rules
|
| #
015d26f8 |
| 05-Mar-2012 |
Sanjay Ghemawat <[email protected]> |
add .gitignore; support for building on a few BSD variants
|
| #
239ac9d2 |
| 02-Feb-2012 |
Sanjay Ghemawat <[email protected]> |
avoid very large compactions; fix build on Linux
|
| #
c8c5866a |
| 30-Nov-2011 |
Hans Wennborg <[email protected]> |
Makefile fixes for systems with $CXX other than g++.
- Makefile: Use $(CXX) for compiling C++ files, don't override the environment's value of $CXX
- build_detect_platform: use $CXX instead of g+
Makefile fixes for systems with $CXX other than g++.
- Makefile: Use $(CXX) for compiling C++ files, don't override the environment's value of $CXX
- build_detect_platform: use $CXX instead of g++.
Based on bug report from Theo Schlossnagle: http://code.google.com/p/leveldb/issues/detail?id=46
(Sync with uptream at 25807040.)
show more ...
|
| #
299ccedf |
| 05-Oct-2011 |
Gabor Cselle <[email protected]> |
A number of bugfixes:
- Added DB::CompactRange() method.
Changed manual compaction code so it breaks up compactions of big ranges into smaller compactions.
Changed the code that pushes the o
A number of bugfixes:
- Added DB::CompactRange() method.
Changed manual compaction code so it breaks up compactions of big ranges into smaller compactions.
Changed the code that pushes the output of memtable compactions to higher levels to obey the grandparent constraint: i.e., we must never have a single file in level L that overlaps too much data in level L+1 (to avoid very expensive L-1 compactions).
Added code to pretty-print internal keys.
- Fixed bug where we would not detect overlap with files in level-0 because we were incorrectly using binary search on an array of files with overlapping ranges.
Added "leveldb.sstables" property that can be used to dump all of the sstables and ranges that make up the db state.
- Removing post_write_snapshot support. Email to leveldb mailing list brought up no users, just confusion from one person about what it meant.
- Fixing static_cast char to unsigned on BIG_ENDIAN platforms.
Fixes Issue 35 and Issue 36.
- Comment clarification to address leveldb Issue 37.
- Change license in posix_logger.h to match other files.
- A build problem where uint32 was used instead of uint32_t.
Sync with upstream @24408625
show more ...
|
| #
26db4d97 |
| 26-Sep-2011 |
Hans Wennborg <[email protected]> |
Sync with upstream @24213649.
Adding GNU/kFreeBSD support. As requested here: http://code.google.com/p/leveldb/issues/detail?id=38
Use uint64_t instead of size_t in MemEnvTest. As pointed out at ht
Sync with upstream @24213649.
Adding GNU/kFreeBSD support. As requested here: http://code.google.com/p/leveldb/issues/detail?id=38
Use uint64_t instead of size_t in MemEnvTest. As pointed out at http://code.google.com/p/leveldb/issues/detail?id=41
show more ...
|
| #
f122c6df |
| 27-Jul-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Adding FreeBSD support, removing Chromium files, adding benchmark.
- LevelDB patch for FreeBSD. This resolves Issue 22. Contributed by dforsythe (thanks!).
- Removing Chromium-specific files. T
Adding FreeBSD support, removing Chromium files, adding benchmark.
- LevelDB patch for FreeBSD. This resolves Issue 22. Contributed by dforsythe (thanks!).
- Removing Chromium-specific files. They are now going to live in the Chromium repository.
- Adding a benchmark page comparing LevelDB performance to SQLite and Kyoto Cabinet's TreeDB, along with code to generate the benchmarks. Thanks to Kevin Tseng for compiling the benchmarks, and Scott Hess and Mikio Hirabayashi for their help and advice.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@40 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|
| #
85f0ab19 |
| 29-Jun-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Fixing Makefile issue reported in Issue 15 (misspelled flag)
git-svn-id: https://leveldb.googlecode.com/svn/trunk@35 62dab493-f737-651d-591e-8d6aee1b9529
|
| #
f57e2335 |
| 29-Jun-2011 |
[email protected] <[email protected]@62dab493-f737-651d-591e-8d6aee1b9529> |
Platform detection during build, plus compatibility patches for machines without <cstdatomic>.
This revision adds two major changes: 1. build_detect_platform which generates build_config.mk with
Platform detection during build, plus compatibility patches for machines without <cstdatomic>.
This revision adds two major changes: 1. build_detect_platform which generates build_config.mk with platform-dependent flags for the build process 2. /port/atomic_pointer.h with anAtomicPointerimplementation for platforms without <cstdatomic>
Some of this code is loosely based on patches submitted to the LevelDB mailing list at https://groups.google.com/forum/#!forum/leveldb Tip of the hat to Dave Smith and Edouard A, who both sent patches.
The presence of Snappy (http://code.google.com/p/snappy/) and cstdatomic are now both detected in the build_detect_platform script (1.) which gets executing during make.
For (2.), instead of broadly importing atomicops_* from Chromium or the Google performance tools, we chose to just implement AtomicPointer and the limited atomic load and store operations it needs. This resulted in much less code and fewer files - everything is contained in atomic_pointer.h.
git-svn-id: https://leveldb.googlecode.com/svn/trunk@34 62dab493-f737-651d-591e-8d6aee1b9529
show more ...
|