Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run MySQL + RocksDB on top of BetrFS #29

Open
malvag opened this issue Sep 6, 2022 · 0 comments
Open

Can't run MySQL + RocksDB on top of BetrFS #29

malvag opened this issue Sep 6, 2022 · 0 comments

Comments

@malvag
Copy link

malvag commented Sep 6, 2022

Hi there, i'm trying to run MySQL with RocksDB as its storage engine on top of BetrFS.

I followed mostly this guide for the setup of Mysql and rocksdb and used your eurosys-artifact-evaluation scripts for setting up BetrFS.

Linkbench was used for benchmarking. So things then went south.. When i started the request phase of the benchmark i encountered a stack trace in kernel, bellow...

Any thoughts on this ?

[  +0.007333] kernel BUG at /home/malvag/betrfs-eurosys22-artifact/betrfs/filesystem/nb_readahead.c:548!
[  +0.000616] invalid opcode: 0000 [#1] SMP NOPTI
[  +0.000533] CPU: 6 PID: 2934 Comm: mariadbd Tainted: G        W  OE     4.19.99-betrfs-v0.6 #1
[  +0.000001] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS Arch Linux 1.16.0-2-2 04/01/2014
[  +0.000125] RIP: 0010:ftfs_page_cache_sync_readahead.part.15+0x5/0x10 [ftfs]
[  +0.000003] Code: f7 b8 02 00 00 00 48 c1 ef 02 48 d3 e0 48 39 d7 48 0f 42 c6 c3 b8 04 00 00 00 48 d3 e0 c3 0f 1f 80 00 00 00 00 0f 1f 44 00 00 <0f> 0b 66 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 41 57 41 56 41 55
[  +0.002747] RSP: 0018:ffffa56acb4e3dd0 EFLAGS: 00010202
[  +0.000001] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000002
[  +0.000000] RDX: ffff930b41058700 RSI: 00008d9536000102 RDI: ffff930bf4099a38
[  +0.000001] RBP: 0000000000000000 R08: 0000000000000003 R09: ffff930b410586d8
[  +0.000000] R10: 0000000000000040 R11: ffffa56acb4e3d68 R12: 0000000000000000
[  +0.000001] R13: ffffa56acb4e3f10 R14: ffff930bf0849300 R15: 0000000000000000
[  +0.000001] FS:  00007f18c6bbf700(0000) GS:ffff930bf7b80000(0000) knlGS:0000000000000000
[  +0.000000] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[  +0.000001] CR2: 00007f18c6bbb4b0 CR3: 0000000270b94003 CR4: 0000000000760ee0
[  +0.000002] PKRU: 55555554
[  +0.000000] Call Trace:
[  +0.000037]  ftfs_file_read_iter+0x4a2/0x5a0 [ftfs]
[  +0.006184]  __vfs_read+0x10f/0x190
[  +0.000001]  vfs_read+0x89/0x130
[  +0.000002]  ksys_pread64+0x71/0x90
[  +0.000001]  do_syscall_64+0x55/0x110
[  +0.000002]  entry_SYSCALL_64_after_hwframe+0x44/0xa9
[  +0.000003] RIP: 0033:0x7f1900f7908f
[  +0.000001] Code: 89 cd 55 53 49 89 d4 48 89 f5 89 fb 48 83 ec 18 e8 76 f0 ff ff 4d 89 ea 41 89 c0 4c 89 e2 48 89 ee 89 df b8 11 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 35 44 89 c7 48 89 44 24 08 e8 ac f0 ff ff 48
[  +0.000001] RSP: 002b:00007f18c6bbaf00 EFLAGS: 00000293 ORIG_RAX: 0000000000000011
[  +0.000000] RAX: ffffffffffffffda RBX: 000000000000007c RCX: 00007f1900f7908f
[  +0.000001] RDX: 0000000000002772 RSI: 00007f18680192f0 RDI: 000000000000007c
[  +0.000000] RBP: 00007f18680192f0 R08: 0000000000000000 R09: 00007f18c6bbb130
[  +0.000001] R10: 0000000000000000 R11: 0000000000000293 R12: 0000000000002772
[  +0.000000] R13: 0000000000000000 R14: 0000000000000000 R15: 00007f18c6bbb150
[  +0.000001] Modules linked in: ftfs(OE) simplefs(OE) kvm_intel kvm irqbypass snd_hda_codec_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel snd_hda_intel snd_hda_codec pcbc snd_hda_core aesni_intel snd_hwdep aes_x86_64 snd_pcm crypto_simd cryptd glue_helper input_leds snd_seq_midi snd_seq_midi_event joydev snd_rawmidi serio_raw snd_seq virtio_gpu snd_seq_device snd_timer ttm drm_kms_helper snd drm lpc_ich soundcore fb_sys_fops syscopyarea sysfillrect mac_hid sysimgblt sch_fq_codel parport_pc ppdev lp parport virtio_rng ip_tables x_tables autofs4 hid_generic usbhid hid psmouse virtio_scsi ahci libahci
[  +0.000093] ---[ end trace a19d386b69909930 ]---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant