Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-09-12 03:14:09 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2017-09-12 03:14:09 +0300
commit910d87af02fc1f92d21d35a187e26e359ea83af2 (patch)
treed2a765f632c5fac92921d1c631415197ef6a91f6 /programs
parent5d87110ffb26e809d14d0caed10c15b12959179f (diff)
Updated Linux benchmarks for toy key value store
Diffstat (limited to 'programs')
-rw-r--r--programs/key-value-store/Readme.md54
-rw-r--r--programs/key-value-store/main.cpp2
2 files changed, 46 insertions, 10 deletions
diff --git a/programs/key-value-store/Readme.md b/programs/key-value-store/Readme.md
index 8fb34736..2299f7cb 100644
--- a/programs/key-value-store/Readme.md
+++ b/programs/key-value-store/Readme.md
@@ -51,21 +51,50 @@ index update.
Fetched at 1144164 items per sec
```
-- 1Kb values Linux with ext4, no integrity, no durability:
+- 1Kb values Linux with ext4, no integrity, no durability, read + append:
```
Inserting 1M key-value pairs ...
- Inserted at 656598 items per sec
+ Inserted at 698324 items per sec
Retrieving 1M key-value pairs ...
- Fetched at 1945525 items per sec
+ Fetched at 2544529 items per sec
```
-- 1Kb values Linux with ext4, integrity, no durability:
+- 1Kb values Linux with ext4, integrity, no durability, read + append:
```
Inserting 1M key-value pairs ...
- Inserted at 581057 items per sec
+ Inserted at 660501 items per sec
Retrieving 1M key-value pairs ...
- Fetched at 1519756 items per sec
+ Fetched at 1934235 items per sec
+ ```
+- 1Kb values Linux with ext4, no integrity, no durability, mmaps:
+ ```
+ Inserting 1M key-value pairs ...
+ Inserted at 695894 items per sec
+ Retrieving 1M key-value pairs ...
+ Fetched at 5988023 items per sec
+ ```
+- 1Kb values Linux with ext4, integrity, no durability, mmaps:
+ ```
+ Inserting 1M key-value pairs ...
+ Inserted at 639795 items per sec
+ Retrieving 1M key-value pairs ...
+ Fetched at 458715 items per sec
```
+- 1Kb values Windows with NTFS, integrity, durability, mmaps:
+ ```
+ Inserting 1M key-value pairs ...
+ Inserted at 33387 items per sec
+ Retrieving 1M key-value pairs ...
+ Fetched at 1360544 items per sec
+ ```
+- 1Kb values Linux with ext4, integrity, durability, mmaps:
+ ```
+ Inserting 1M key-value pairs ...
+ Inserted at 85397 items per sec
+ Retrieving 1M key-value pairs ...
+ Fetched at 781250 items per sec
+ ```
+
- 16 byte values Windows with NTFS, no integrity, no durability, read + append:
```
Inserting 1M key-value pairs ...
@@ -83,7 +112,14 @@ index update.
- 16 byte values Linux with ext4, no integrity, no durability, read + append:
```
Inserting 1M key-value pairs ...
- Inserted at 1118568 items per sec
+ Inserted at 1400560 items per sec
Retrieving 1M key-value pairs ...
- Fetched at 2898550 items per sec
- ``` \ No newline at end of file
+ Fetched at 3816793 items per sec
+ ```
+- 16 byte values Linux with ext4, no integrity, no durability, mmaps:
+ ```
+ Inserting 1M key-value pairs ...
+ Inserted at 1663893 items per sec
+ Retrieving 1M key-value pairs ...
+ Fetched at 26315789 items per sec
+ ```
diff --git a/programs/key-value-store/main.cpp b/programs/key-value-store/main.cpp
index 2ed4d1c7..6f388bb1 100644
--- a/programs/key-value-store/main.cpp
+++ b/programs/key-value-store/main.cpp
@@ -96,7 +96,7 @@ void benchmark(key_value_store::basic_key_value_store &store, const char *desc)
std::cout << " Generating 1M key-value pairs ..." << std::endl;
for(size_t n = 0; n < 1000000; n++)
{
- std::string randomvalue = AFIO_V2_NAMESPACE::utils::random_string(64 / 2);
+ std::string randomvalue = AFIO_V2_NAMESPACE::utils::random_string(1024 / 2);
values.push_back({100 + n, randomvalue});
}
}