Skip to content

Instantly share code, notes, and snippets.

View liu-chunmei's full-sized avatar

Liu-Chunmei liu-chunmei

View GitHub Profile
@liu-chunmei
liu-chunmei / gist:689b15b78891ea7e417788df66d603c7
Last active June 10, 2020 08:02
alien blue store segmentation fault even with "--memory 32G --smp 4"
#0 0x0000555556661db4 in malloc (n=n@entry=100) at /home/chunmei/ceph/src/seastar/src/core/memory.cc:1504
#1 0x00007ffff4ac2525 in _IO_vasprintf (result_ptr=0x7fffe273b250, format=0x7ffff4bf17d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
args=args@entry=0x7fffe273b140) at vasprintf.c:47
#2 0x00007ffff4a9f154 in ___asprintf (string_ptr=string_ptr@entry=0x7fffe273b250,
format=format@entry=0x7ffff4bf17d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n") at asprintf.c:35
#3 0x00007ffff4a6a2f4 in __assert_fail_base (fmt=0x7ffff4bf17d8 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion@entry=0x5555568fe5eb "cpu_id < max_cpus", file=file@entry=0x5555568fe738 "/home/chunmei/ceph/src/seastar/src/core/memory.cc",
line=line@entry=914, function=function@entry=0x5555568fe860 "bool seastar::memory::cpu_pages::initialize()") at assert.c:57
#4 0x00007ffff4a6a412 in __GI___assert_fail (assertion=assertion@entry=0x5555568fe5eb "cpu_id < max_cpus",
file=file@entry=0x5555568fe738 "/home/chunme
@liu-chunmei
liu-chunmei / gist:546442e83a72b2d0771153f03ae559e0
Last active February 3, 2021 05:39
cirmson-osd performance testing rados bench

rados bench: Rough perf testing of crimson-osd: ceph-osd

Scenario

  • 4 KB random reads and writes with two rados bench instances over
  • single OSD instance
  • deployed on purley server by vstart.sh
  • with minimal content stored in memstore / cyanstore.
@liu-chunmei
liu-chunmei / gist:f696b9c4f31b123fb223cdd47f13c8ea
Last active February 10, 2021 06:04
crimson-osd performance testing---fio

fio: Rough perf testing of crimson-osd: ceph-osd

Scenario

  • 4 KB random reads and writes with one fio instance and two job number
  • single OSD instance
  • deployed on purley server by vstart.sh
  • with minimal content stored in memstore / cyanstore.
@liu-chunmei
liu-chunmei / gist:4fd88fd0ff56d6849439a2df329aa80e
Last active February 10, 2021 06:04
crimson-osd performance testing : rados bench (ceph osd bind to 1 cpu)

rados bench: Rough perf testing of crimson-osd: ceph-osd

Scenario

  • 4 KB random reads and writes with two rados bench instances over
  • single OSD instance
  • deployed on purley server by vstart.sh
  • with minimal content stored in memstore / cyanstore.
@liu-chunmei
liu-chunmei / seastore nbd test.md
Last active April 7, 2021 02:30
seastore_nbd test

fio: seastore nbd

Scenario

  • seastore transaction manager running as nbd server
  • fio nbd engine.

fio test result: (release version)

fio configration

[global]
ioengine=nbd
uri=nbd+unix:///?socket=/tmp/store_nbd_socket.sock
rw=randrw
time_based
iodepth=16
size=500G

fio: Rough perf testing of crimson-osd: ceph-osd

Scenario

  • 4 KB random reads and writes with one fio instance and two job number
  • single OSD instance
  • deployed on purley server by vstart.sh
  • crimson-seastore vs ceph-bluestore

with L_ADDR_MIN cache_hit_access_ratio_by_src with hint cache_hit_access_ratio_by_src

with L_ADDR_MIN cache_usage with hint cache_usage

@liu-chunmei
liu-chunmei / fio.md
Last active August 31, 2021 02:16
fio test for crimson-osd

fio: Rough perf testing of crimson-osd with interruptable future and new lba tree

Scenario

  • 4 KB random reads and writes with one fio instance and two job number
  • single OSD instance
  • deployed on purley server by vstart.sh
  • crimson-seastore
@liu-chunmei
liu-chunmei / metrics.md
Last active August 28, 2021 08:39
crimson-osd rados bench metrics

crimson profiling by rados bench metrics

Scenario

  • 4 KB rados bench test, total 10 round, each round 600s.
  • single OSD instance
  • deployed by vstart.sh
  • crimson-seastore