You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. CPUID cost high without this flag enabled: rooch-network/rooch#2303
2. sched_getcpu() introduced in kernel2.6.19(`<sched.h>`), set it directly here, but not use the same way as rocksdb's CMakeLists.txt:
```
check_cxx_symbol_exists(sched_getcpu sched.h HAVE_SCHED_GETCPU)
if(HAVE_SCHED_GETCPU)
add_definitions(-DROCKSDB_SCHED_GETCPU_PRESENT)
endif()
```
background:
When importing data using statedb genesis, I found this in perf top -p <rooch_pid>
57.33% rooch [.] rocksdb::port::PhysicalCoreID()
releated issues:
facebook/rocksdb#3889
The text was updated successfully, but these errors were encountered: