Skip to content

Write cache burns too much CPU #3642

@roman-khimov

Description

@roman-khimov

Expected Behavior

Write cache not much visible in the profile.

Current Behavior

Image

Possible Solution

Find out why it burns cycles this much and fix it.

Steps to Reproduce (for bugs)

Run a node, check profile.

Context

Mainnet. This node does process around 1-5 objects per second which is not a lot, most of the time the cache is empty.

This node doesn't have #3641 problem.

Regression

Yes and no, write cache was seriously reworked in 0.46.0, the scheme works fine in general, but CPU consumption is somewhat problematic.

Your Environment

  • Version used: 0.49.1
  • Server setup and configuration:
  • Operating System and version (uname -a):

Metadata

Metadata

Assignees

No one assigned

    Labels

    I4No visible changesS4RoutineU2Seriously plannedbugSomething isn't workingneofs-storageStorage node application issuesperformanceMore of something per second

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions