Tuesday, June 17, 2008

fixing a macbook pro,

well after my screen died a couple of weeks ago and I was felling hopeless without a second laptop, well I ordered a new screen and followed these instructions. And I don't want todo it again, its and absolutly night mare and shame on apple for gluing the display in. it was a major piece of work to get the display off without bending the frame.

well 220$ and 2 hours later its working again and I can say I'm able to replace every part of a mac book pro now...

Sunday, June 15, 2008

mai taih de nase

  • 1 shot 10 Cane rum
  • 1 shot barcadi select - brown rum
  • 1/2 shot amaretto
  • 1 shot triple sec
  • 2 shots creme de cassis
  • some ice
  • fill up with orange juice
ridiculous sweet, but Lindsay likes it

Saturday, June 14, 2008

yay homemade pizza is the best pizza and it's so simle...

Tuesday, June 10, 2008

I finally managed to get the cuda program together to compile under windows and osx, generate the libraries and provide a working linking for windows and osx.

Well, I also got accepted at source forge and so another project is registered and running, which should be developed over the next couple of month.

https://sourceforge.net/projects/jacuda/

Well we also got a new 42" tv for the living room and a new bedroom. Ok the bed and we still need to get some bookshelf's, but at least the first room in the apartment starts to show that I start to settle here.

Sunday, June 08, 2008

another day with C, C++,cuda and Makefiles.

slowly it starts to come back to me, the whole ideas about pointers, memory allocation and the whole stuff.

And I have to admit it's fun to program in a procedural style and not object oriented. But boy it's a weird way to think...

also I'm only able to use the nvcc compiler, windows keeps complaining if I use gcc/g++/cl/cc for the weirdest reasons.

well time to write some C+ functions, move them to cuda and write java and python wrappers.

yay

Saturday, June 07, 2008

live is certainly interesting, it was the year 2001 and I told my self I never use c++ again, since java is so much nicer and c++/c is so error prone.

Now it happened that I found a paper about cuda, which basically allows you me to run calculations on the nvidia 8800 GPU's. Drawback, you have to write in a mixed style of C/C++.

Well, atleast I learn a lot, but why should I use the GPU in the first place? Now I use a mac pro with 2x2 cpus or a ibm X60 with 1x2 cpu for my daily work and both have quite some memory (8GB Ram and 2GB Ram) so I should be set with this for my daily live. Now a GT8800 has one GPU which has 128 Suprocessing units, basically meaning that you got 128 CPU's todo work with you. Now you could combine several of these cards together, in my case i could use up to 4 of these cards in my mac, which would give me 512 CPU's.

Now I'm sitting here und starting to learn good old C again and already registered a new project on sourceforge, you need to get references somehow...

the name, jacuda.

What do I want todo? Provide a java/python/groovy/C API to run scientific calculations on cuda enable graphic cards. And hope to speed up some calculations with this at work. Like comparing 2k vs 2k bins, my java programm only needs 5h todo this and maybe this makes it much much faster. The final goal is to write a cuda implementation of some CDK algorythm, since I got the feeling that many people actually need this feature. Some algorythms of the CDK are just to slow compared to other programs.

Tuesday, June 03, 2008

i got the distinct feeling that my oracle server does not like me

ok we got a box with 4CPU's and a load of 332, it should had not been higher than 4 - 8 maximum...

top - 11:45:56 up 61 days, 1:14, 1 user, load average: 332.86, 332.35, 330.72
Tasks: 453 total, 334 running, 119 sleeping, 0 stopped, 0 zombie
Cpu0 : 8.7% us, 11.5% sy, 0.0% ni, 78.2% id, 1.4% wa, 0.0% hi, 0.1% si
Cpu1 : 8.0% us, 11.5% sy, 0.0% ni, 80.3% id, 0.1% wa, 0.0% hi, 0.0% si
Cpu2 : 7.9% us, 11.5% sy, 0.0% ni, 80.4% id, 0.1% wa, 0.0% hi, 0.0% si
Cpu3 : 8.0% us, 11.4% sy, 0.0% ni, 80.4% id, 0.1% wa, 0.0% hi, 0.0% si
Mem: 2355340k total, 2344524k used, 10816k free, 201168k buffers
Swap: 1048568k total, 19612k used, 1028956k free, 607180k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
9666 oracle 25 0 23044 7704 4096 R 8.8 0.3 183:34.83 perl
9143 oracle 25 0 23044 7704 4096 R 8.8 0.3 165:01.08 perl
14558 oracle 25 0 23044 7704 4096 R 8.8 0.3 162:30.51 perl
24927 oracle 25 0 23044 7708 4096 R 8.8 0.3 152:36.97 perl
13659 oracle 25 0 592m 58m 57m R 8.5 2.6 302:04.46 oracle
13997 oracle 25 0 601m 46g 46g R 8.5 2064.9 340:51.62 oracle
22099 oracle 25 0 92160 6600 5736 R 8.5 0.3 300:50.44 oracle
25858 oracle 25 0 23044 7704 4096 R 8.5 0.3 287:52.72 perl
28081 oracle 25 0 23040 7704 4096 R 8.5 0.3 278:28.88 perl
9844 oracle 25 0 23044 7704 4096 R 8.5 0.3 245:16.83 perl
10397 oracle 25 0 23040 7704 4096 R 8.5 0.3 244:08.57 perl
10962 oracle 25 0 23040 7704 4096 R 8.5 0.3 243:00.47 perl
12069 oracle 25 0 23044 7708 4096 R 8.5 0.3 240:51.97 perl
4691 oracle 25 0 23040 7704 4096 R 8.5 0.3 186:51.45 perl

Monday, June 02, 2008

wounder full gas is getting more and more expensive (4.35 right now) and I seriously started to consider selling it.

well after checking around I got a quote for around 1600 - 2000$ for my truck and so it's just not worth to sell it anymore.

seems like I'm driving it till it falls apart.