nanogui: Thread: How to improve the speed?


[<<] [<] Page 1 of 1 [>] [>>]
Subject: How to improve the speed?
From: ####@####.####
Date: 14 Jan 2002 06:29:05 -0000
Message-Id: <004f01c19cc4$ffa1ee50$2b64a8c0@rdcenter.com>

Hi,because it is too slow that running on 68VZ328(the os is uClinux),now I have to do some work to improve the speed,who can tell me where to start?   
    Thanks a lot!
Subject: Re: [nanogui] How to improve the speed?
From: Alex Holden ####@####.####
Date: 14 Jan 2002 12:53:44 -0000
Message-Id: <3C42D42E.2010800@linuxhacker.org>

####@####.#### wrote:

> Hi,because it is too slow that running on 68VZ328(the os is uClinux),now I have to do some work to improve the speed,who can tell me where to start?   
>     Thanks a lot!

If gprof profiling works on uClinux, try using that to find out where
most of the time is being spent in the server. Also try doing some
benchmarking to find out what types of operation are particularly in
need of improvement (drawing horizontal and vertical lines, drawing
pixmaps, moving areas around, etc.). Once you have a better idea of what
exactly would most benefit from optimisation, write versions of those
routines (blit, line drawing, palette conversion, whatever) which run
faster on your hardware.

-- 
------------ Alex Holden - http://www.linuxhacker.org ------------
If it doesn't work, you're not hitting it with a big enough hammer

Subject: Re: [nanogui] How to improve the speed?
From: Jordan Crouse ####@####.####
Date: 14 Jan 2002 15:21:15 -0000
Message-Id: <E16Q8sd-0004qQ-00@ns.censoft.com>

Also, remember that uClinux is for machines that have no MMU and run at low 
speeds.  Its just a fact of life that you won't be able to run Quake at 30fps 
on this processor.   You will need to stick with simple line drawing and use 
things that have large for() loops (like memory copying, or rectangle fiill) 
sparingly.

Jordan

On Monday 14 January 2002 05:50, Alex Holden mentioned:
> ####@####.#### wrote:
> > Hi,because it is too slow that running on 68VZ328(the os is uClinux),now
> > I have to do some work to improve the speed,who can tell me where to
> > start? Thanks a lot!
>
> If gprof profiling works on uClinux, try using that to find out where
> most of the time is being spent in the server. Also try doing some
> benchmarking to find out what types of operation are particularly in
> need of improvement (drawing horizontal and vertical lines, drawing
> pixmaps, moving areas around, etc.). Once you have a better idea of what
> exactly would most benefit from optimisation, write versions of those
> routines (blit, line drawing, palette conversion, whatever) which run
> faster on your hardware.
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.