Skip to content
This repository was archived by the owner on Mar 9, 2019. It is now read-only.
This repository was archived by the owner on Mar 9, 2019. It is now read-only.

Use pwritev() #238

Closed
Closed
@benbjohnson

Description

@benbjohnson
Member

Use pwritev() when flushing data to disk so that we can batch multiple pages into a single syscall.

/cc @siddontang @pkieltyka

Activity

added this to the v0.1.0 milestone on Aug 6, 2014
self-assigned this
on Aug 6, 2014
pkieltyka

pkieltyka commented on Aug 6, 2014

@pkieltyka

👍

pkieltyka

pkieltyka commented on Aug 6, 2014

@pkieltyka

aren't you on vacation? haha

benbjohnson

benbjohnson commented on Aug 6, 2014

@benbjohnson
MemberAuthor

That's what my wife keeps trying to tell me. :)

siddontang

siddontang commented on Aug 6, 2014

@siddontang
Contributor

er...... vacation is unimaginable in China.

pkieltyka

pkieltyka commented on Feb 2, 2015

@pkieltyka

hey guys, just wondering if this is on the radar, since it sounds like it can help with write performance?

benbjohnson

benbjohnson commented on Feb 2, 2015

@benbjohnson
MemberAuthor

I haven't made any progress on this yet. It hasn't been much of a priority because I'm not sure how much it'll actually help performance. The main performance issue with random writes is that they amplify writes a ton. You likely end up getting throttled by disk write speed and not syscall invocation time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @pkieltyka@benbjohnson@siddontang

      Issue actions

        Use pwritev() · Issue #238 · boltdb/bolt