Skip to content

Cassandra page faults under YCSB workloadc with extra JVM logging #490

Closed
@tgrabiec

Description

When these options are passed to the JVM:

-verbose:gc 
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+PrintTenuringDistribution
-XX:+PrintGCApplicationConcurrentTime
-XX:+PrintGCApplicationStoppedTime

The JVM page faults in about a minute from starting YCSB benchmark:

2014-09-05T17:53:59.527+0000: page fault outside application, addr: 0x000020000b2ae000
[registers]
RIP: 0x000000000045ba31 <???+4569649>
RFL: 0x0000000000010202  CS:  0x0000000000000008  SS:  0x0000000000000010
RAX: 0x8000000000000000  RBX: 0x000020000b2ae004  RCX: 0x0000000000000000  RDX: 0x0000000000000000
RSI: 0x0000000000000003  RDI: 0x000020000b2ab31c  RBP: 0x000020000b2ad010  R8:  0x0000000000000066
R9:  0x0000000000000000  R10: 0x00000000ffffffe2  R11: 0x0000000000000000  R12: 0x0000000000000007
R13: 0x0000000000000000  R14: 0x00000000ffffffe2  R15: 0x0000000000000000  RSP: 0x000020000b2ab2a0
Aborted

[backtrace]
0x00000000003291bf <???+3314111>
0x000000000032a2d3 <mmu::vm_fault(unsigned long, exception_frame*)+147>
0x0000000000389ff9 <page_fault+105>
0x0000000000388ee6 <???+3706598>

#0  0x00000000003fa912 in cli_hlt ()
    at /data/tgrabiec/src/osv/arch/x64/processor.hh:242
#1  halt_no_interrupts () at /data/tgrabiec/src/osv/arch/x64/arch.hh:49
#2  osv::halt () at /data/tgrabiec/src/osv/core/power.cc:36
#3  0x00000000002237a5 in abort (fmt=fmt@entry=0x6058ed "Aborted\n")
    at /data/tgrabiec/src/osv/runtime.cc:150
#4  0x00000000002237d0 in abort () at /data/tgrabiec/src/osv/runtime.cc:117
#5  0x00000000003291c0 in mmu::vm_sigsegv (addr=<optimized out>, 
    ef=0xffff8001099ce078) at /data/tgrabiec/src/osv/core/mmu.cc:1191
#6  0x000000000032a2d4 in mmu::vm_fault (addr=<optimized out>, 
    addr@entry=35184559448064, ef=ef@entry=0xffff8001099ce078)
    at /data/tgrabiec/src/osv/core/mmu.cc:1213
#7  0x0000000000389ffa in page_fault (ef=0xffff8001099ce078)
    at /data/tgrabiec/src/osv/arch/x64/mmu.cc:38
#8  <signal handler called>
#9  fmt_fp (f=0x20000b2ad2c0, y=0, w=3, p=7, fl=0, t=102)
    at /data/tgrabiec/src/osv/musl/src/stdio/vfprintf.c:291
#10 0x0000000000000000 in ?? ()

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions