Re: PCB's internals
- From: DJ Delorie <dj@xxxxxxxxxxx>
- Date: 23 May 2006 20:04:34 -0400
fpga_toys@xxxxxxxxx writes:
set. If it takes 0.1 seconds (as you state below) to redraw the
screen while running cleanly out of l1/L2/L3 cache, then you can
accept mouse events at 100 per second
10 per second.
and keep up with the users motion without creating a backlog that
grows queue length. The problem starts when the working set is
exceeded,
Even simpler. If you're getting 10 mouse events per second, and it
takes 0.099 seconds to process them, you're OK. If it takes 0.101
seconds to process them, you're toast. The trip point isn't filling
cache, it's just that the redraw finally takes longer than the
available time, even if it's still running cleanly out of cache.
By combining motion events you slow down the rate of context
switching to the X server, and do more work per context switch.
More importantly, I redraw the board less often. Redraws are
expensive no matter how much cache you have.
2) use segmented tables (arrays, vectors) instead of single object
PCB does this.
.
- Follow-Ups:
- Re: PCB's internals
- From: fpga_toys
- Re: PCB's internals
- References:
- Has anyone produced a board using Kicad?
- From: Lord Vain
- Re: Has anyone produced a board using Kicad?
- From: Hal Murray
- Re: Has anyone produced a board using Kicad?
- From: fpga_toys
- Re: Has anyone produced a board using Kicad?
- From: DJ Delorie
- Re: Has anyone produced a board using Kicad?
- From: fpga_toys
- Re: Has anyone produced a board using Kicad?
- From: DJ Delorie
- Re: Has anyone produced a board using Kicad?
- From: fpga_toys
- Re: Has anyone produced a board using Kicad?
- From: fpga_toys
- PCB's internals [was Re: Has anyone produced a board using Kicad?]
- From: DJ Delorie
- Re: PCB's internals
- From: fpga_toys
- Has anyone produced a board using Kicad?
- Prev by Date: Re: PCB's internals
- Next by Date: Re: Any field solvers that can import PCB design data?
- Previous by thread: Re: PCB's internals
- Next by thread: Re: PCB's internals
- Index(es):
Relevant Pages
|
|