You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by "Phil Steitz (JIRA)" <ji...@apache.org> on 2007/08/02 03:26:53 UTC

[jira] Updated: (RIVER-171) Should use one sync to commit multiple pending Outrigger log records to disk

     [ https://issues.apache.org/jira/browse/RIVER-171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Phil Steitz updated RIVER-171:
------------------------------

    Description: 
Bugtraq ID [5026860|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5026860]

All operations on Outrigger's log file are serlialized by a single
lock.  Currently each durable operation on a persistent Outrigger will
result in two syncs (we could this down to one, see 5026757), this means that
outrigger's overall througput is limited by the cost of these syncs
(e.g. if the two syncs cost 25ms we can only get 40 ops / s).

If we queued up disk ops, and then used a single queue thread to
commit them to disk (while the queuing thread waited on completion of
the commit to disk) when the queue had multiple pending operations we
could write them all out under one set of syncs. This would not
improve the best case latency for durable operations, but should allow
for higher throuput when running multi-threaded work loads.

  was:
Bugtraq ID [5026860http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5026860]

All operations on Outrigger's log file are serlialized by a single
lock.  Currently each durable operation on a persistent Outrigger will
result in two syncs (we could this down to one, see 5026757), this means that
outrigger's overall througput is limited by the cost of these syncs
(e.g. if the two syncs cost 25ms we can only get 40 ops / s).

If we queued up disk ops, and then used a single queue thread to
commit them to disk (while the queuing thread waited on completion of
the commit to disk) when the queue had multiple pending operations we
could write them all out under one set of syncs. This would not
improve the best case latency for durable operations, but should allow
for higher throuput when running multi-threaded work loads.


> Should use one sync to commit multiple pending Outrigger log records to disk
> ----------------------------------------------------------------------------
>
>                 Key: RIVER-171
>                 URL: https://issues.apache.org/jira/browse/RIVER-171
>             Project: River
>          Issue Type: Improvement
>          Components: com_sun_jini_outrigger
>    Affects Versions: jtsk_1.1
>            Reporter: Phil Steitz
>            Priority: Minor
>
> Bugtraq ID [5026860|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5026860]
> All operations on Outrigger's log file are serlialized by a single
> lock.  Currently each durable operation on a persistent Outrigger will
> result in two syncs (we could this down to one, see 5026757), this means that
> outrigger's overall througput is limited by the cost of these syncs
> (e.g. if the two syncs cost 25ms we can only get 40 ops / s).
> If we queued up disk ops, and then used a single queue thread to
> commit them to disk (while the queuing thread waited on completion of
> the commit to disk) when the queue had multiple pending operations we
> could write them all out under one set of syncs. This would not
> improve the best case latency for durable operations, but should allow
> for higher throuput when running multi-threaded work loads.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.