Well,
There is always the, well, canonical SMP crowd-pleaser, the multithreaded
Mandelbrot set generator.  Being relatively new to Linux myself, I don't
know exactly where to get one for Linux, but I am _sure_ that others on
this list can.  I think it always makes a good demo when you can set in the
program how many threads to use.  Start at 1 and generate a mandelbrot set.
I think its best for people's patience if you do one that takes maybe 10
seconds with one thread.  Then, increase to 2 threads, and do it again.  It
should take maybe 5 seconds.  If you have 4 cpus, that is even better,
because with 4 threads it should be maybe 2.5-3 seconds, which to most to
most folks is close enough to instantaneous that they are really impressed.

If you cant find a multithreaded mandelbrot set generator, run two
instances of a single-threaded generator then.  Start up a mandelbrot set
that will take maybe 20 seconds or so, then immediately switch over to the
other one, set right next to it, and start it up doing the same thing.  The
crowd will be pleased at home the first one doesn't seem to slow down any
when the second starts working.

Actually, I just played around with the mandelbrot generator program that
came with KDE.  There was no provision to set number of threads or
anything, so I had two windows open side by side and kept both of them
busy.  I set the iterations to 3999 in both windows so they wouldn't
complete instantaneously, and then kept going back and forth between both
windows, zooming in in new sections, and kept them both rendering at what
appeared to be either full speed, or close to full speed.


>Hello,
>
>I need to build a real kick-ass demo for Linux-SMP on a highend machine.
>It should be something to visualize the capabilities of SMP so kernel
>compilation is not an option. Does anybody have any suggestions ?
>
>thanks in advance, juergen
>
>PS: Please reply by mail, as I read this list only occasionally on the
>archive.
>
>
>
>Juergen Schmidt   Redakteur/editor  c't magazin
>Verlag Heinz Heise GmbH & Co KG, Helstorferstr. 7, D-30625 Hannover
>EMail: [EMAIL PROTECTED] - Tel.: +49 511 5352 300 - FAX: +49 511 5352 417
>
>
>-
>Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
>To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]



-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to