orientdb: Significant performance degradation on a server with big RAM

Guys,

We got a server with 128Gb RAM and 32 CPUs. But OrientDB is running even slower than on 1 CPU/1Gb account on digital ocean. The mostly it’s observable during db startup: it’s doing something for a couple of minutes (vs. few minutes on small environment). According to thread dump it’s freezing here:

"main" prio=10 tid=0x00007f4e2c00a000 nid=0x18a3 runnable [0x00007f4e33a93000]
   java.lang.Thread.State: RUNNABLE
    at java.io.RandomAccessFile.write0(Native Method)
    at java.io.RandomAccessFile.write(RandomAccessFile.java:500)
    at java.io.RandomAccessFile.writeLong(RandomAccessFile.java:1071)
    at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.writeMasterRecord(ODiskWriteAheadLog.java:1216)
    at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.ODiskWriteAheadLog.log(ODiskWriteAheadLog.java:884)
    at com.orientechnologies.orient.core.storage.impl.local.paginated.wal.OAbstractWriteAheadLog.logFullCheckpointStart(OAbstractWriteAheadLog.java:67)
    at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.makeFullCheckpoint(OAbstractPaginatedStorage.java:1631)
    at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.synch(OAbstractPaginatedStorage.java:1205)
    at com.orientechnologies.orient.core.metadata.schema.OSchemaShared$1.call(OSchemaShared.java:1217)
    at com.orientechnologies.orient.core.db.OScenarioThreadLocal.executeAsDistributed(OScenarioThreadLocal.java:67)
    at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.saveInternal(OSchemaShared.java:1210)
    at com.orientechnologies.orient.core.metadata.schema.OSchemaShared.releaseSchemaWriteLock(OSchemaShared.java:640)
    at com.orientechnologies.orient.core.metadata.schema.OClassImpl.releaseSchemaWriteLock(OClassImpl.java:1808)
    at com.orientechnologies.orient.core.metadata.schema.OClassImpl.releaseSchemaWriteLock(OClassImpl.java:1803)
    at com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.releaseSchemaWriteLock(OPropertyImpl.java:1109)
    at com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.setCustom(OPropertyImpl.java:757)
    at com.orientechnologies.orient.core.metadata.schema.OPropertyImpl.setCustom(OPropertyImpl.java:68)

It’s interesting, but JVM instance limited just be few Gb.

Any ideas?

About this issue

  • Original URL
  • State: closed
  • Created 9 years ago
  • Comments: 25 (16 by maintainers)

Commits related to this issue

Most upvoted comments

Yes, exactly.