4 ms·
Hey, my test results are the following: [root@server test]# tcrmttest write -port 1978 localhost 100000 <Writing Test> host=localhost port=1978 tnum=1 rn
by dh2k 17y ago
Hey,
my test results are the following:
[root@server test]# tcrmttest write -port 1978 localhost 100000
<Writing Test>
host=localhost port=1978 tnum=1 rnum=100000 nr=0 ext= rnd=0
......................... (00010000)
......................... (00020000)
......................... (00030000)
......................... (00040000)
......................... (00050000)
......................... (00060000)
......................... (00070000)
......................... (00080000)
......................... (00090000)
......................... (00100000)
record number: 200001
size: 6928736
time: 22.460
ok
[root@server test]# tcrmttest read -port 1978 localhost
<Reading Test>
host=localhost port=1978 tnum=1 mul=0 rnd=0
......................... (00020000)
......................... (00040000)
......................... (00060000)
......................... (00080000)
......................... (00100000)
tcrmttest: tcrdbget: error: 7: no record found
record number: 200001
size: 6928736
time: 21.996
error
[root@server test]# tcrmttest remove -port 1978 localhost
<Removing Test>
host=localhost port=1978 tnum=1 rnd=0
......................... (00020000)
......................... (00040000)
......................... (00060000)
......................... (00080000)
......................... (00100000)
tcrmttest: tcrdbout: error: 7: no record found
record number: 100001
size: 6928736
time: 22.692
error
how can I reach the 1M put/get?
Looks like TT is around 2-3K records / sec in read/write.
I've tested with all kind of table structures (on-memory hash, b+ tree, disk based hash, b+ tree, table, etc). and it was the same speed all the time.