Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.arch > #33219

Re: essential features of modern day CPU architecure modeling technology

From mag <mag@nospam.com>
Newsgroups comp.arch
Message-ID <2016012805325157126-mag@nospam.com> (permalink)
References <20160108095238799-mag@nospam.com> <9b950e94-28d4-4a0a-ac19-868f60f21921@googlegroups.com> <2016011008362014292-mag@nospam.com> <L4C*1mvPv@news.chiark.greenend.org.uk>
Subject Re: essential features of modern day CPU architecure modeling technology
Organization http://www.panic.com/unison/
Date 2016-01-28 05:32 -0800

Show all headers | View raw


On 2016-01-12 18:58:29 +0000, Theo Markettos said:

> mag <mag@nospam.com> wrote:
>> For performance reasons. Cycle accuracy entails slow down in my
>> experience, but you get better results as you're usually modeling the
>> pipeline accurately and thus have a clearer picture of what design
>> you're actually going to implement. Likely you don't have a product
>> until you can model at the cycle accurate level and do benchmarking
>> therewith.
> 
> The danger of even 'cycle accurate' simulation is that you can be rather
> optimistic of what you can achieve in a single cycle.  'Oh, that's a
> single-cycle floating point divide', 'let's make a million-way associative
> cache'.  Which might work, if you don't mind trashing your clock frequency.
Indeed!
> 
> It's only when you repeatedly bash the synthesis tools (FPGA or ASIC) do you
> get a good picture of how your feature affects the maximum clock rate.

What I've done in the past is use the technology information to inform 
how many levels of logic I can place in each pipe stage (say to meet a 
clock frequency target) and how much routing resources are available 
(used to determine what kind of bus/fabric [or catalog of 
buses/fabrics]) I can use and let that inform my microarchitecture and 
architecture and hence what I model.

There is a cost to product success in writing the HDL first and then 
synthesizing it to see if you hit PPA. You end of fooling yourself for 
a long time and by the time you see the real implementation you don't 
have time to react to hit your PPA goal.

> 
> It's very easy to throw in slow muxes or long combinatorial paths without
> realising it when you're writing C/Gem5/SystemC - only when you fail timing
> do you realise how bloody it is to make it work for real.

Unfortunately I still see this happening today.

The best architectures are those that are not necessarily wholey 
dictated by implementation possibilities, but are heavily influenced by 
them and can scale up better than their peers as implementation 
technologies improve.

> 
> Theo
> 
> PS. Another fun feature of architectural simulators is when they implement
> the bare minimum to (eg) boot Linux, and then walk away.  Which causes a
> whole pile of pain if you try to use their components for other things, even
> booting a different kernel to the one they specified.  Published results
> from these simulators need to be scrutinised /very/ carefully.

Back to comp.arch | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

essential features of modern day CPU architecure modeling technology mag <mag@nospam.com> - 2016-01-08 09:52 -0800
  Re: essential features of modern day CPU architecure modeling technology MitchAlsup <MitchAlsup@aol.com> - 2016-01-08 16:31 -0800
    Re: essential features of modern day CPU architecure modeling technology mag <mag@nospam.com> - 2016-01-10 08:36 -0800
      Re: essential features of modern day CPU architecure modeling technology Theo Markettos <theom+news@chiark.greenend.org.uk> - 2016-01-12 18:58 +0000
        Re: essential features of modern day CPU architecure modeling technology mag <mag@nospam.com> - 2016-01-28 05:32 -0800

csiph-web