mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
mention levelbdMedium and levedbLarge indexes
parent
b77dc8cf3b
commit
ab4d44d126
|
@ -5,6 +5,11 @@ When starting volume server, you can specify the index type. By default it is us
|
||||||
|
|
||||||
`weed volume -index=leveldb` can change to leveldb. It is much faster to start up a volume server, at the cost of a little bit slower when accessing the files. Compared to network speed, the extra cost is not that much in most cases.
|
`weed volume -index=leveldb` can change to leveldb. It is much faster to start up a volume server, at the cost of a little bit slower when accessing the files. Compared to network speed, the extra cost is not that much in most cases.
|
||||||
|
|
||||||
|
Note: there are 3 flavors of leveldb indexes for the volume server:
|
||||||
|
- `leveldb`: small memory footprint (4MB total, 1 write buffer, 3 block buffers)
|
||||||
|
- `leveldbMedium`: medium memory footprint (8MB total, 3 write buffers, 5 block buffers)
|
||||||
|
- `leveldbLarge`: large memory footprint (12MB total, 4 write buffers, 8 block buffers)
|
||||||
|
|
||||||
## Preallocate volume file disk spaces
|
## Preallocate volume file disk spaces
|
||||||
|
|
||||||
In some Linux file system, e.g., XFS, ext4, Btrfs, etc, SeaweedFS can optionally allocate disk space for the volume files. This ensures file data is on contiguous blocks, which can improve performance when files are large and may cover multiple extents.
|
In some Linux file system, e.g., XFS, ext4, Btrfs, etc, SeaweedFS can optionally allocate disk space for the volume files. This ensures file data is on contiguous blocks, which can improve performance when files are large and may cover multiple extents.
|
||||||
|
|
Loading…
Reference in a new issue