lkml.org 
[lkml]   [2008]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Make yield_task_fair more efficient

* Balbir Singh <balbir@linux.vnet.ibm.com> wrote:

> I have an alternate approach in mind (that I need to find time for),
> threaded-rbtrees. Walking the tree is really efficient, specially
> finding successor of a node.

sure, feel free to experiment with those details.

But if you want to improve Java workloads then you should probably start
by converting them to futexes instead of sched_yield(), that will
probably give far more performance than micro-optimizing the
sys_sched_yield() codepath. (especially when it happens at the expense
of other workloads, which is not acceptable for mainline) You can
rebuild your JVM easily and re-test with its locking fixed, right?

Ingo


\
 
 \ /
  Last update: 2008-02-21 10:45    [W:0.139 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site