[haiku-bugs] Re: [Haiku] #10571: Slow app_server drawing with new scheduler

  • From: "jua" <trac@xxxxxxxxxxxx>
  • Date: Thu, 20 Feb 2014 23:58:03 -0000

#10571: Slow app_server drawing with new scheduler
-----------------------------+-------------------------------------------
   Reporter:  jua            |      Owner:  axeld
       Type:  bug            |     Status:  new
   Priority:  normal         |  Milestone:  R1
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:  scheduler graphics app_server
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+-------------------------------------------
Description changed by jua:

Old description:

> With the new scheduler, I get very slow graphics drawing on my machine.
> Dragging windows around is slow and lagging, same with e.g. scrolling a
> website in WebPositive. Fluid video playback is impossible.
>
> A good way to benchmark this is the "Chart" application from our Demos
> folder. I tested with 3 Haiku revisions:
> * hrev46684 (nightly right before the scheduler merge)
> * hrev46699 (nightly right after the scheduler merge)
> * hrev46893 (latest nightly)
>
> Selecting "DirectWindow" as display method in Chart, all three revisions
> get fluid 60fps with 3% CPU usage. However, using "DrawBitmap", the
> problem becomes apparent: only the pre-scheduler-merge version performs
> well and fluid, the others suffer from very bad performance even at 100%
> CPU usage.
>
> I'm attaching 3 screenshots of the test which also show ActivityMonitor.
>
> Test system: AMD E-450 APU (dual core), Radeon HD6320, 2GB RAM. Same
> behaviour with both, radeon_hd and VESA graphics driver.
>
> Let me know if further information is required.

New description:

 With the new scheduler, I get very slow graphics drawing on my machine.
 Dragging windows around is slow and lagging, same with e.g. scrolling a
 website in WebPositive. Fluid video playback is impossible.

 A good way to benchmark this is the "Chart" application from our Demos
 folder. I tested with 3 Haiku revisions:
 * hrev46684 (nightly right before the scheduler merge)
 * hrev46699 (nightly right after the scheduler merge)
 * hrev46893 (latest nightly)

 Selecting "DirectWindow" as display method in Chart, all three revisions
 get fluid 60fps with 3% CPU usage. However, using "DrawBitmap", the
 problem becomes apparent: only the pre-scheduler-merge version performs
 well and fluid, the others suffer from very bad performance (less than
 10fps even at 100% CPU usage).

 I'm attaching 3 screenshots of the test which also show ActivityMonitor.

 Test system: AMD E-450 APU (dual core), Radeon HD6320, 2GB RAM. Same
 behaviour with both, radeon_hd and VESA graphics driver.

 Let me know if further information is required.

--

--
Ticket URL: <https://dev.haiku-os.org/ticket/10571#comment:1>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: