/srv/irclogs.ubuntu.com/2011/04/20/#ubuntu-us-wi.txt

=== nickmoeck_ is now known as nickmoeck
rippsI have a dilema: intel i3 2100 or amd athlon x4.08:55
rippssandybridge with 2 cores vs. athlon with 4. Sandybridge is suppose to have awesome performance, but does it trump an extra 2 cores08:56
rippsI've looked at some comparison benchmarks, but it they seem pretty comparable, except each one does better a certain operation than the other.09:05
mikeputnamripps: intel i7!14:19
KBmewell, i'd guess it depends on how parallelisable is what you'r doing14:22
KBmeyou're14:22
KBmeif it can be parallelised easily more cores will help more14:22
mikeputnamso do "cores" present themselves as disticnt cpus to the os?14:23
mikeputnams/disticnt/distinct/14:24
spikebyes14:24
mikeputnamah14:24
mikeputnamso a dual processor with dual cores would appear to have 4 cpus14:25
mikeputnamgot it14:25
KBmealso intel Hyper Threading makes cores show up as two cores14:27
mikeputnamas a non-os programmer, i wonder how linux itself uses or does not use parallelism with regard to cpus14:27
mikeputnamKBme: i see.  didn't realize that either14:28
KBmehow it uses?14:28
KBmeit has a scheduler to map OS level threads to cores14:28
mikeputnamso in my earlier example the 2 proc dual core may look like 8 cpus?14:28
KBmeif it has hyper threading yes, each core shows up as two cpus14:29
mikeputnamcrazy14:29
KBmewhat i understood about hyper threading is that if the process runs into a bottleneck it can be rescheduled and an other process can take over14:29
KBmebut don't take my word on that one, we're getting on the murky water of CPU design14:30
mikeputnamheh14:30
mikeputnamso even if an application isn't designed for parallelism, it probably would benefit in someways with the os balancing it's own threads across cpus14:31
KBmewell14:32
KBmethe whole system still benefits for it14:32
mikeputnamright14:32
KBmeyour application won't14:32
mikeputnamso indirectly in my example themn14:32
mikeputnam*then14:32
mikeputnamah14:32
KBmeyeah14:32
KBmewell, since it can fully use one core and the "other stuff" can be mapped to other cores14:33
mikeputnamso generally speaking without actively designing for parallelism, your app exists as a single thread (pid?)14:33
KBmeit will get more cpu time than if the whole system is on the same core14:33
mikeputnamright14:33
KBmewell, that depends too14:33
KBmeyou can thread your program and still not be parallel14:33
mikeputnamoverall timeshare, but the os isn't going to magically separate out chunks of your app to leverage idle cpu cycles14:33
KBmelook up for example the difference between concurrency and parallelism14:33
KBmeno, it won't ☺14:34
KBmethough the haskell people are working on that :D14:34
mikeputnamit's interesting to think about concurrency and parallelism out of the context of computing14:35
mikeputnamlike a manufacturing business for example14:35
mikeputnamget more orders -> get more people -> do more work14:35
KBmeyeah14:36
KBmeio bottleneck: an unfinished highway14:36
mikeputnamheh14:36
KBmemikeputnam, dhmn looks interesting :P14:37
mikeputnamor even open source software development. i believe human brains are basically single threaded. but get 15 people...   :)14:37
mikeputnamKBme: it is. clever people doing fun and interesting stuff14:38
mikeputnamKBme: join the mailing list.  lots of neat stuff goes by14:38
KBmemikeputnam, you are very wrong about the human brain14:38
mikeputnamyes i suppose. there's a lot going on: keep my breathing, seeing, hearing, fight or flight, etc etc14:39
KBmeyep14:40
KBmealso, if you're really interested, search for "Google Workshop on Quantum Biology" in youtube, pretty mind-boggling talks14:40
mikeputnami guess i was referring to the voluntary thought->action process14:40
KBmethat "counscious" part...hmm yeah, maybe14:40
KBmei wouldn't be sure, tho, even14:40
mikeputnamat least i know i can't write 3 programs in parallel14:41
KBmeheh14:41
KBmemikeputnam, i'm in france for now ☺14:41
mikeputnamneat. seek out "hackerspace"s near your locality. you'll be glad you did.14:43
mikeputnamhttp://hackerspaces.org/wiki/France14:43
KBmethere seem to be non where I am..14:44
mikeputnam:/14:44
mikeputnamstart one?14:45
mikeputnam:)14:45
KBmeso, what is it?14:45
KBmehmmm14:45
KBmei guess i'll just rtfm ;)14:45
KBmemikeputnam, we're kind of starting one14:46
mikeputnamgreat!14:47
mikeputnamsort of a community workshop14:47
KBmefor hackers14:47
KBmeyeah14:47
mikeputnamlike a health club membership, but for your brain14:47
KBmeso what do you program, mikeputnam?14:48
mikeputnamcomputer people, metalworking people, woodworking people, crafty people, electronics people, art people, etc, etc14:48
mikeputnami work on an Oracle/PeopleSoft ERP app14:48
KBme14:49
KBmeugg (oracle;)14:49
mikeputnamyeah14:49
KBmethey do usually pay well tho14:49
KBmewell, ogtta get back to hacking on my couchapp laterz14:50
mikeputnamenjoy14:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!