Skip to content

Bpfkv test with XRP enabled performs worse than the one with XRP disabled #8

Description

@ZhangJiaQiao

Test result:

Running a short point lookup benchmark with XRP enabled...
Running benchmark with 5 layers, 1000 requests, and 1 thread(s)
954305 blocks in total, max key is 28629151
thread 0 op_count 1000
Average throughput: 2038.604906 op/s latency: 490.266764 usec
95%   latency: 590.318350 us
99%   latency: 667.493130 us
99.9% latency: 843.351895 us
Percentage of requests with latency >= 1ms: 0.0000%
Done!
Running a short point lookup benchmark with XRP disabled...
Running benchmark with 5 layers, 1000 requests, and 1 thread(s)
954305 blocks in total, max key is 28629151
thread 0 op_count 1000
Average throughput: 2496.853970 op/s latency: 400.233601 usec
95%   latency: 529.078000 us
99%   latency: 698.114930 us
99.9% latency: 1023.336907 us
Percentage of requests with latency >= 1ms: 0.2000%

Nvme Disk:

Disk /dev/nvme0n1: 1.46 TiB, 1599875317760 bytes, 3124756480 sectors
Disk model: INTEL SSDPE2KE016T8
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

20-Core CPU:

processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 85
model name	: Intel(R) Xeon(R) Silver 4114 CPU @ 2.20GHz
stepping	: 4
microcode	: 0x2007006
cpu MHz		: 2200.000
cache size	: 14080 KB
physical id	: 0
siblings	: 10
core id		: 0
cpu cores	: 10
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 22
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb cat_l3 cdp_l3 invpcid_single intel_ppin ssbd mba ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm cqm mpx rdt_a avx512f avx512dq rdseed adx smap clflushopt clwb intel_pt avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local dtherm ida arat pln pts pku ospke md_clear flush_l1d arch_capabilities
vmx flags	: vnmi preemption_timer posted_intr invvpid ept_x_only ept_ad ept_1gb flexpriority apicv tsc_offset vtpr mtf vapic ept vpid unrestricted_guest vapic_reg vid ple shadow_vmcs pml ept_mode_based_exec tsc_scaling
bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips	: 4400.00
clflush size	: 64
cache_alignment	: 64
address sizes	: 46 bits physical, 48 bits virtual
power management:

Memory:

MemTotal:       395929492 kB
MemFree:        388031008 kB
MemAvailable:   389933100 kB
Buffers:          161152 kB
Cached:          3765400 kB
SwapCached:            0 kB
Active:          1378044 kB
Inactive:        2779400 kB
Active(anon):        524 kB
Inactive(anon):   235156 kB
Active(file):    1377520 kB
Inactive(file):  2544244 kB
Unevictable:          24 kB
Mlocked:               0 kB
SwapTotal:             0 kB
SwapFree:              0 kB
Dirty:                92 kB
Writeback:             0 kB
AnonPages:        230940 kB
Mapped:           122892 kB
Shmem:              4792 kB
KReclaimable:     251652 kB
Slab:             447528 kB
SReclaimable:     251652 kB
SUnreclaim:       195876 kB
KernelStack:        9184 kB
PageTables:         3840 kB
NFS_Unstable:          0 kB
Bounce:                0 kB
WritebackTmp:          0 kB
CommitLimit:    197964744 kB
Committed_AS:    1455480 kB
VmallocTotal:   34359738367 kB
VmallocUsed:      246608 kB
VmallocChunk:          0 kB
Percpu:            52416 kB
HardwareCorrupted:     0 kB
AnonHugePages:      2048 kB
ShmemHugePages:        0 kB
ShmemPmdMapped:        0 kB
FileHugePages:         0 kB
FilePmdMapped:         0 kB
HugePages_Total:       0
HugePages_Free:        0
HugePages_Rsvd:        0
HugePages_Surp:        0
Hugepagesize:       2048 kB
Hugetlb:               0 kB
DirectMap4k:      906488 kB
DirectMap2M:    32319488 kB
DirectMap1G:    371195904 kB

The test result I got mismatched the one in the paper. Is there anything I need to pay attention to in order to reproduce the experiment?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions