| Latest 7 Posts |
Wishmap Tue, Jun 22nd 2010 52
|
Quickr 8.2.0.9 + Domino 8.5.1FP1 = Stable! Tue, Feb 2nd 2010 181
|
Easy Wed, Jan 27th 2010 32
|
Multithreading can be cores times slower or cores times faster than single threading Tue, Dec 15th 2009 92
|
Layers and Outlines Fri, Dec 11th 2009 66
|
Debian 5.0 GNU C++ makes the fastest code Wed, Dec 9th 2009 52
|
Goodbye Firefox! Thu, Nov 26th 2009 45
|
| Top
10 |
Quickr 8.2.0.9 + Domino 8.5.1FP1 = Stable! Tue, Feb 2nd 2010 181
|
IBM Lotus Notes/Domino 9 Tue, Oct 2nd 2007 104
|
Multithreading can be cores times slower or cores times faster than single threading Tue, Dec 15th 2009 92
|
Fine tuning the Notes 8 Mail template Wed, Sep 12th 2007 85
|
AIX - change size of file system Wed, Mar 5th 2008 85
|
The death of openSUSE Sat, Nov 14th 2009 80
|
Domino 7.0.3 is still the most stable release Mon, Feb 2nd 2009 70
|
Layers and Outlines Fri, Dec 11th 2009 66
|
Debian 5.0 GNU C++ makes the fastest code Wed, Dec 9th 2009 52
|
Wishmap Tue, Jun 22nd 2010 52
|
|
|
Multithreading can be cores times slower or cores times faster than single threading
I added multithreading capability to the Siipi speedtest tool, and it showed surprising results: Looping got almost (number of cores) times faster, but allocating memory got almost (number of cores) times slower!
Here's the test with the first part using 4 cores, and 2nd part using 1 core (as before):
Speedtest 1.1 (c) 2009 Siipi
Counting 10 billion floating points using 4 cores...
thread 1 begin=25000.000000
thread 2 begin=50000.000000
Main loop begin=0.000000
thread 3 begin=75000.000000
thread 3 loop ended at 100000.000003.
thread 2 loop ended at 75000.000003.
thread 1 loop ended at 50000.000007.
Main loop Done. i=2500000050, n=25000.000009, time=4.390000s.
Creating and deleting 1 billion class objects using 1 cores...
Main loop Done. i=100000000, time=13.313000s.
Total time=17.703000s.
Now the same test with both parts using 4 cores:
Speedtest 1.1 (c) 2009 Siipi
Counting 10 billion floating points using 4 cores...
thread 1 begin=25000.000000
thread 2 begin=50000.000000
Main loop begin=0.000000
thread 3 begin=75000.000000
thread 3 loop ended at 100000.000003.
thread 1 loop ended at 50000.000007.
thread 2 loop ended at 75000.000003.
Main loop Done. i=2500000050, n=25000.000009, time=6.312000s.
Creating and deleting 1 billion class objects using 4 cores...
thread 1 begin=25000000
thread 2 begin=50000000
thread 3 begin=75000000
Main loop Done. i=25000000, time=66.188000s.
Total time=72.500000s.
As reference the original test, using no multithreading:
Speedtest 1.0 © 2008 Siipi
Counting 10 billion floating points...
Done. i=1410063201, n=100000.000003, time=15.078000s.
Creating and deleting 1 billion class objects...
Done. i=100000000, time=12.890000s.
Total time=27.968000s.
--------------------- http://siipi.com/public/mika.nsf/blogs/32C5E4BE99467B02C225768D006F8AAE Dec 15, 2009 94 hits
| Recent Blog Posts |
52

|
Wishmap
Tue, Jun 22nd 2010 7:46p Mika Heinonen [read] Keywords: |
181

|
Quickr 8.2.0.9 + Domino 8.5.1FP1 = Stable!
Tue, Feb 2nd 2010 1:44p Mika Heinonen [read] Keywords: domino
nsd
quickr
|
32

|
Easy
Wed, Jan 27th 2010 11:05a Mika Heinonen [read] Keywords: |
93

|
Multithreading can be cores times slower or cores times faster than single threading
Tue, Dec 15th 2009 3:25p Mika Heinonen [read] Keywords: |
66

|
Layers and Outlines
Fri, Dec 11th 2009 4:45p Mika Heinonen [read] Keywords: forms
notes
development
|
52

|
Debian 5.0 GNU C++ makes the fastest code
Wed, Dec 9th 2009 3:04p Mika Heinonen [read] Keywords: |
| 45

|
Goodbye Firefox!
Thu, Nov 26th 2009 1:08p Mika Heinonen [read] Keywords: notes
ajax
firefox
google
linux
mac
profile
security
|
80

|
The death of openSUSE
Sat, Nov 14th 2009 6:25p Mika Heinonen [read] Keywords: ibm
linux
microsoft
vista
ubuntu |
36

|
Functional and financial thoughts about IT systems
Tue, Nov 10th 2009 3:24p Mika Heinonen [read] Keywords: domino
ibm
lotusscript
notes
rich text
aix
apple
applications
database
desktop
development
linux
microsoft
mysql
oracle
server
sql
vista
vm
ubuntu |
41

|
Oracle tries to kill SUN
Thu, Oct 22nd 2009 3:46p Mika Heinonen [read] Keywords: domino
ibm
applications
database
microsoft
mysql
oracle
sharepoint
|
|