none
Low performance in old PC RRS feed

  • Question

  • Using animations, I noticed that an old PC CPU usage rises to 100%
    I'm asking to know where I can do something to lower the type of rendering or groped for other things to lower the CPU in all manners

    Rudy Azzan
    Thursday, June 17, 2010 11:01 AM

Answers

  • Hi Rudy,

    According the MSDN document - Optimizing WPF Application Performance that can help you to optimize the performance.
    http://msdn.microsoft.com/en-us/library/aa970683.aspx

    On a side not, I agree with 8xFather, remove things that are rendered by software. If it is possible, you could choose to upgrade your "old PC" to improve the performance.

    Sincerely,

    Bob Bao


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Bob_BaoModerator Monday, June 28, 2010 3:35 AM
    • Unmarked as answer by Rudy Azzan Monday, June 28, 2010 8:28 AM
    • Marked as answer by Rudy Azzan Monday, June 28, 2010 8:32 AM
    Monday, June 21, 2010 6:26 AM
    Moderator
  • I have found the problem!

    It's a bug of windows xp. When i set the property

    AllowsTransparency = false

    It works very fast!


    Rudy Azzan
    • Marked as answer by Rudy Azzan Monday, June 28, 2010 8:28 AM
    Monday, June 28, 2010 8:28 AM

All replies

  • Normally you would look to remove things that are software rendered such as BitmapEffect. When something is software rendered the work falls on the CPU. If it’s hardware rendered the work shifts to the GPU. Unfortunately you used the key phrase “old PC” and the machine in question may not have the capabilities for proper hardware rendering. If that’s the case then the work gets dumped back on the CPU again.  

     

    If you are sure your code is good then try adding a new video card to take advantage of the hardware rendering.

    • Marked as answer by Bob_BaoModerator Monday, June 28, 2010 3:35 AM
    • Unmarked as answer by Rudy Azzan Monday, June 28, 2010 8:28 AM
    Thursday, June 17, 2010 9:07 PM
  • Hi Rudy,

    According the MSDN document - Optimizing WPF Application Performance that can help you to optimize the performance.
    http://msdn.microsoft.com/en-us/library/aa970683.aspx

    On a side not, I agree with 8xFather, remove things that are rendered by software. If it is possible, you could choose to upgrade your "old PC" to improve the performance.

    Sincerely,

    Bob Bao


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    • Marked as answer by Bob_BaoModerator Monday, June 28, 2010 3:35 AM
    • Unmarked as answer by Rudy Azzan Monday, June 28, 2010 8:28 AM
    • Marked as answer by Rudy Azzan Monday, June 28, 2010 8:32 AM
    Monday, June 21, 2010 6:26 AM
    Moderator
  • I have found the problem!

    It's a bug of windows xp. When i set the property

    AllowsTransparency = false

    It works very fast!


    Rudy Azzan
    • Marked as answer by Rudy Azzan Monday, June 28, 2010 8:28 AM
    Monday, June 28, 2010 8:28 AM