Although you're getting peak performance at 60 threads,>8 threads on the i7 is going to depreciate theoretical performance.Rather than rendering horizontal blocks, it'd be more efficient to render alternative scanlines using 8 threads - (thread 1: Y= 0,8,16,24 etc.) In your implementation, some cores would finish their workload early where the scene is simple, and thus have to be overloaded with threads to keep them busy. Alternative scanlines mean core workload would be spread more equal.
The thread pool idea or comment does sound like the way to go... is there a reason you chose to run it the way we are seeing it here or was the previous comment good advice. I wouldn't say bad idea, but i'd love to know your thoughts on that comment
LMFAO, no dude, the core 2 duo like destroy's the ps3's processor like two times an over in everything. The time i asked that question i knew nothing, bt lmfao did u know a 7800 GT beats the whole ps3 in graphics.
@spikkel70 Right, 2006 tech beats 2010 tech lmfao, the ps3 is old outdated technology out-done by a $500 pc, the can't play any games in 1080p at 60 fps now can you, you'r best uncharted 2 runs at 30 fps at 720p and maxes out the ps3, if the ps3 is so powerful then why can't it do better then uncharted 2, like come close to crysis at medium settings at least. Everything the ps3 can do a pc can do + obviously a 1000 times more, ps3 sucks, switch to pc gaming dude, it's waaay better.
It's a bad idea to pre-associate image parts for each thread as you may have noticed. I think It would be much better to implement a thread pool with number of threads equal to the number of processors, break up the image into a lot of parts and assign them dynamically to the running threads as they become free.
Although you're getting peak performance at 60 threads,>8 threads on the i7 is going to depreciate theoretical performance.Rather than rendering horizontal blocks, it'd be more efficient to render alternative scanlines using 8 threads - (thread 1: Y= 0,8,16,24 etc.) In your implementation, some cores would finish their workload early where the scene is simple, and thus have to be overloaded with threads to keep them busy. Alternative scanlines mean core workload would be spread more equal.
antzrhere 7 months ago
This has been flagged as spam show
i think the cell brodband engine because it run at 3.2 Ghz and the i7 run at 2.67mhz
UNCHARTED9444 1 year ago
isnt this why gpus are best for these kinda jobs...read somewhere that nvidia fermis cuda cores can process 24 threads simultaneous
monstercameron 1 year ago
Comment removed
corsairegg 1 year ago
Well, the spheres doesn't reflect/retract so there is no actual recursion here.. would be nice to see it altogether :-)
liorz1984 2 years ago
The thread pool idea or comment does sound like the way to go... is there a reason you chose to run it the way we are seeing it here or was the previous comment good advice. I wouldn't say bad idea, but i'd love to know your thoughts on that comment
MtD
multidstringtheorist 2 years ago
I chose the easiest algorithm to implement. I will try a thread pool as soon as i have some spare time.
joerndinkla 2 years ago
what is more powerfull at ray tracer the ps3's cell brodband engine or the intel core i7
tazss159 1 year ago
@tazss159 the ps3 cell (with only 6 spe cores) is faster it has better floating point performance comparable with the new AMD 12-core opteron
spikkel70 1 year ago
@spikkel70
LMFAO, no dude, the core 2 duo like destroy's the ps3's processor like two times an over in everything. The time i asked that question i knew nothing, bt lmfao did u know a 7800 GT beats the whole ps3 in graphics.
tazss159 1 year ago
@tazss159
cell: PPE=25 gflops / 10000 mips, SPE=12,5 gflops (x8=100gflops) total 125gflops
12x core amd opteron = 10 gflops per core, mips unknown (to me)
Intel I7 = 55000 mips, flops unknown
Xeon 4x core (not sure) = 70 gflops
spikkel70 1 year ago
@spikkel70 Right, 2006 tech beats 2010 tech lmfao, the ps3 is old outdated technology out-done by a $500 pc, the can't play any games in 1080p at 60 fps now can you, you'r best uncharted 2 runs at 30 fps at 720p and maxes out the ps3, if the ps3 is so powerful then why can't it do better then uncharted 2, like come close to crysis at medium settings at least. Everything the ps3 can do a pc can do + obviously a 1000 times more, ps3 sucks, switch to pc gaming dude, it's waaay better.
tazss159 1 year ago
@spikkel70 now intel xeon E7500 have 64 core
capatais777 9 months ago
Nice one! god those are a lot of cores :)
It's a bad idea to pre-associate image parts for each thread as you may have noticed. I think It would be much better to implement a thread pool with number of threads equal to the number of processors, break up the image into a lot of parts and assign them dynamically to the running threads as they become free.
nuclearthelab 2 years ago
great job!
avsti 2 years ago