All posts by kobaan

Supercomputer on your graphicsboard

Most people don’t even know they’re
already owning awesome computing power.
They take a look on their CPU, compare the speeds on a
supercomputing archive like Top
500.org
and after that, they’re disappointed.But compared to CPU’s (the main processor), modern graphic boards
GPU’s are already a lot faster than their complex instruction
processing pendants.

Fast GPU’s (graphics processors) are needed for the latest 3D games
which are getting more and more hype. They even bundle lots of
GPU’s to virtual graphics boards for maximum performance. For the
consumer that’s called SLI or crossfire, for graphics offices
Nvidia introduced quadroplex
recently.

nvidia_quadro_plex

Now back to supercomputing, ok GPU’s are faster ? why still use
CPU’s ?
A GPU has the limit that it can only handle simple instructions
which are highly optimized, further they work from their own board
based but extreme fast memory banks. So, a CPU is needed for
complex calculations and system management and flexible functions,
whereas a GPU can do the simple but effective calculations.

Some smart people started to use GPU’s to accelerate physics
calculations for games, making Ageia’s Physx accelerator
board
a nonsense investment.

More smart people started to figure out how to use GPU’s for their
own purposes.
A programmer needs an API to abstract function calls to the
hardware.
The common API for GPU’s is OpenGL, and this leads to a very
uncommon thinking
in programming, as a graphics API like OpenGL has graphics
functions.
Lets get closer to some expression differences.

On graphics boards you know an expression like:
– texture (pixels in x,y space)
– drawing
– shader program
the same on a CPU langauge would simply be:
– array (2 dimensional x,y)
– computing
– algorithm / calculation formula

Now if we want to give the GPU work to do we copy input data from
the main memory to the graphics board texture buffer. Like we do as
graphics textures for game-models.
The next thing is, we implement an algorithm workflow in assembly
as a shader
program. (The graphics card thinks we will animate a flickering
fire for example, and does the calculation according to the shader
program from the input texture buffer to an output texture
buffer.)
And now we transfer back the output texture buffer to the main
systems memory, and wonder wonder…. the calculation was done by
the GPU.
Depending on the shader program and implementation possibility the
GPU will be lightyears faster in calculation as the CPU.

The big advantage of GPU’s is of course graphical calculation, this
is why makes sense to use them for floating point and limit
calculations.
See here for some implemented examples:

Lineare Algebra auf GPU’s


GPU Tutorials

GPGPU
Implementations

Now it’s only a matter of time when distributed computing projects
like
setiathome, faah, hpf, hpf2 and so
on will run a hundred times faster on peoples
home computers graphics hardware.

Hallelujah !

Quote of the day

bush-alien

Programming today is a race between software engineers striving to
build bigger and better idiot proof programs,
and the Universe trying to produce bigger and better idiots.

So far, the Universe is winning.

New Homeoffice Desks

DSC02591
250 kg heavy, high quality, made in germany, new desks, in my
homeoffice. Now my wife has much more space to fill up with batches
of books and papers.
For myself I enjoy the space and the clean desk, completely
opposite to my desk at work, I love the chaos there.
It’s really amazing how much space is left although all the
techie stuff is already installed (now 3 computers inside).DSC02592

For anyone who wants to take the offer, I bought the desks at
XXXLutz which give a 40% discount at the moment as they called it
birthday-special. When I talk to the salesman he didn’t know
why it’s called birthday-special since it’s always a
birthday-offer all over the year…
Those marketing guys… Winking))
…let’s just call it humu humu nuku nuku…

DSC02596

Windows Part 3 of 3

DSC02585

Finally, all my windows “not Microsoft Winking” are
renewed.

This time the workers did a real good job and also fix all the
remaining problems from my last window(s) de-installation.

Winking Man, I like that windows
de-installation thing Winking

Now, as soon as my budget will allow it, I can start buying my
final furniture. I’m quite happy now, except for the window
cleaning. 8-(
DSC02579DSC02580

Apple WWDC 2006

dsc_0489
The latest information from WWDC 2006:

– new MacPro all dual up to 3GHz , new XServe all quad
– 64bit and 32bit UI applications simultanously
– TimeMachine backup and historical review
– BootCamp, FrontRow, PhotoBooth in Leopard
– Virtual Desktops (Spaces), Spotlight as AppLauncher
– CoreAnimation (desktop/application compositing)
– Voiceover real natural human voice
– Mail: stationary, notes, to-do tracker, templates, photobrowser,
mail to todo function
– Dashboard: dashcode, 4 clicks dilbert widget created
– iChat: multiple logins, visibility, animated icons, video
recording, and tabbed chats, slideshow exchange, realtime effects,
video integration
– XCode 3.0