[haiku-development] Re: On timeslices and cycles

  • From: André Braga <meianoite@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Thu, 12 Mar 2009 20:39:23 -0300

Em 12/03/2009, às 20:23, Danny Robson <danny@xxxxxxxxxxx> escreveu:
Quick thought before the morning coffee: It could be more interesting to
incorporate some idea of context switching overhead (which would be
related to clockspeed I grant you) if you're looking at that low level.
If it's extremely cheap to switch why not do it more often?

You have to strike a balance there so you don't impair throughput, specially when you have a lot of similar worker threads competing for raw CPU time. Responsiveness is golden for Haiku's purposes, but so is throughput -- think of real-time effects processing on uncompressed HD video. :)


Cheers,
A.

Other related posts: