Wednesday, 19 June 2013

The speed and size of a hotrod PC's in 2012

I have been thinking about the speed and size of my favourite computer as it crunched it's way through a combinatorial monster of a problem. Looking at the differences between the parts of a PC can really help to exploit the performance characteristics of the machine.

The system in question BB02, previously seen in Gannetts Folding hall of Fame, is quite a beefy box that was assembled at a cost of about £2000 and has recently had some memory and storage upgrades.   


Starting off with memory and Core i7 Gulftown processor we can see in the top left of this screenshot, taken from Memtest, that the processor has three levels of cache and 16GB of memory.  The cache levels decrease in speed as they increase in size.


Memtest results


The speed quoted for the memory at 9600 MB/s sits a bit under the max speed shown in the reference table below that shows DDR3-13333 at 10,666 MB/Sec. Not having all the same memory modules in all 6 slots may account for part of this 10% discrepancy. Thanks to http://www.hardwaresecrets.com for the data.

Memory speed table

The motherboard, an Asus PT6 Delux V2 has 6 data ports that have been loaded with, an older 5400 RPM drive, a 7200 RPM drive,  a Corsair Force 3 SolidSateDrive and three new Seagate 3TB 7200 RPM drives.  The Seagate drives have been configured as a RAID 0 stripe group using the Ubuntu MultiDevice technology. Using a stripe group shares the I/O load across all the disks in the group. The tests were performed across 2 and 3 drives.  
Asus P6T Delux V2

The evolved and well known filesystem & disk speed utility Bonnie++ was used to access the disk performance. Bonnie tests through the filesystem layer, rather than exercising the raw disk, giving better real life performance numbers. 

Here are the consolidated results converted to MBytes for the sizes and MBytes/second for the transfer speeds. 


We can see in the table, for most levels, that as speeds go down as the size goes up. The impact of using faster drives in a RAID configuration results in at least 3 times speed up over the older single drives.


Plotting the results on a chart also gives some insight into the numbers.  Having memory as the crossover point we see the step down between CPU and storage speeds and relative sizes. The vertical axis is on a Log scale showing the progression from the 32K cache size to the 9Terra Bytes of the 3 way stripe storage.

Sizes and speeds of processor caches, memory and various storage.


Looking at the sizes of the various elements we can see that the variation in size between largest (3 way stripe) and smallest L1 Cache is much bigger than the difference in speed scale.  Interestingly the difference between main memory speed and the slowest disk is about the same order as between a cheetah and a tortoise.

Other comparisons are:
Max Differential speed scale2472
Max Differential size scale281250000.00
Diff Mem/L2 cache6.82
Diff Mem/ Fastest Disk49.66
Diff Mem/ Slowest Disk362.26
Diff Speed  Cheetha/ Tortoise411.76
Diff Size Stamp /football pitch5000000.00

Also included in the main table above are the seek operations per second numbers for the storage drives that clearly show the distinct advantage of SSDs technology in a read situation. The ability of SSDs to maintain full transfer speeds in a read (and random read) situation make them particularly useful as database index and system drives. 



Corsair SSD



Windows 7 has a performance comparison utility built into the Control panel that scores elements of a system between 1 and 7.9. The system under consideration scores a respectable 7.8 on all elements except 7.6 on Disk Drive speed.



For real cpu work Folding at home gives a system a real work out. For this system over 36 Gflops are delivered. 36 GFlops is more than a Cray T932.

Writing final coordinates.
[02:51:00] Completed 500000 out of 500000 steps  (100%)

 Average load imbalance: 0.7 %
 Part of the total run time spent waiting due to load imbalance: 0.4 %
 Steps where the load balancing was limited by -rdd, -rcon and/or -dds: X 1 % Y 0 %


Parallel run - timing based on wallclock.

               NODE (s)   Real (s)      (%)
       Time:  17278.673  17278.673    100.0
                       4h47:58
               (Mnbf/s)   (GFlops)   (ns/day)  (hour/ns)
Performance:    711.518     36.599     10.001      2.400 


When looking at network speeds be sure to register the distinction between MB/s (MegaBytes) and Mb/s (Mega bits)/s. Long distance lines and telcos will often quote as Mbits/s but payloads are usually measured in MBytes. A high res photo is about 6Mbytes so would take either 6 seconds on a 1 MByte/s line but would take 40 s on a 1Mbit line.

In the house there is Gigabit wired networking and Wireless infrastructure.

Wireless - 8.9 MB/s


Wired ( Gigabit) 70 MB/s


The numbers above are obtained using a simple shared folder drag and drop file move. Whilst a good indication of real world performance the wired number is missleading because the file transfer speed is capped at the disk speeds of the PCs involved.

Using the iperf network test utility that just sends network data between the same two machines we see on the wired network gets over 900 Mbits/s ( 113 MByte/s).


------------------------------------------------------------
Server listening on TCP port 5001
TCP window size: 85.3 KByte (default)
------------------------------------------------------------
[  4] local 192.168.1.2 port 5001 connected with 192.168.1.11 port 53619
[ ID] Interval       Transfer     Bandwidth
[  4]  0.0-10.0 sec  1.05 GBytes    906 Mbits/sec
[  5] local 192.168.1.2 port 5001 connected with 192.168.1.11 port 53620
[  5]  0.0-40.0 sec  4.28 GBytes    920 Mbits/sec
[  4] local 192.168.1.2 port 5001 connected with 192.168.1.11 port 53623
[  4]  0.0-40.0 sec  4.27 GBytes    916 Mbits/sec

and the wireless route gets up to about 100Mbits ( 12MBytes/s) when forcing a large packet size.

$ iperf_Intel -c p.local -w 256K
------------------------------------------------------------
Client connecting to pup02.local, TCP port 5001
TCP window size:   257 KByte (WARNING: requested   256 KByte)
------------------------------------------------------------
[  5] local 192.168.1.70 port 63886 connected with 192.168.1.68 port 5001
[ ID] Interval       Transfer     Bandwidth
[  5]  0.0-10.0 sec    122 MBytes    102 Mbits/sec

Out to the Internet we have a good service from BT Infinity giving 64Mbits/s ( 8MBytes/s) download and 2 MBytes upload when testing with the well respected Speedtest.net That is about the same as the internal wireless connection.  Using a wired connection about 70Mbits/s is seen.

















Saturday, 15 June 2013

Steam engines at South Molton Rally 2013

Some of the steam engines at the South Molton Rally 1&2nd June 2013.


Enjoy.













Now looking forward to :

Devon Traction Engine
Veteran & Vintage Car Club


2013 RALLY 6th & 7th JULY
Chapelton Barton, Chapelton, Barnstaple, Devon.
Well signed on the A377 Barnstaple to Exeter Road - Plenty of FREE parking next to the rally field
For SAT NAV use EX37 9EB : For details see http://www.dtec.freeuk.com





Friday, 31 May 2013

gTLD is the new Y2K

Change is coming to a feature of the internet that has previously been stable, predictable and mostly secure. In an environment where services, sites and content changes at light speed having a core infrastructure protocol change is unsettling for many.

The top level naming system of the internet is expanding to include non-roman characters and a multitude of new suffixes. The familiar .edu, .net, .com, .countrycodes will be joined by

http://उदाहरण.परीक्षा
http://例え.テスト
http://例子.测试
as well as
.lol
.docs
.nyc
.travel
and lots and lots of others.

 Assumptions about the format of domain, website names and email addresses will have to be updated.

The smaller new domain suffixes will be set up with a specific registrar possibly making the hunting of rogue domains even harder.

IT departments and software companies are scrabbling to ensure compatibility and reliability of internet services. Looking forward to an inevitable change that shifts the foundations within a hugely diverse set of infrastructure is as nerve racking as the Y2K episode all over again.  Lets hope the preparation work gets done and the new gTLDs have the same minimal impact as Y2K. Somehow I doubt it.

Addition ..
Domain names now contain non-roman characters. These would have to be processed into equivalent but unique ascii before regex/applications could work reliably. See RFC 3490 Internationalizing Domain Names in Applications (IDNA) ... See https://tools.ietf.org/html/rfc3490  which has 
Until now, there has been no standard method for domain names to use 
characters outside the ASCII repertoire. This document defines 
internationalized domain names (IDNs) and a mechanism called 
Internationalizing Domain Names in Applications (IDNA) for handling 
them in a standard fashion. IDNs use characters drawn from a large 
repertoire (Unicode), but IDNA allows the non-ASCII characters to be 
represented using only the ASCII characters already allowed in so- 
called host names today. This backward-compatible representation is 
required in existing protocols like DNS, so that IDNs can be 
introduced with no changes to the existing infrastructure. IDNA is 
only meant for processing domain names, not free text.

Wednesday, 8 May 2013

Marmite collection 2013

Marmite collection 2013 





Top row from L->R
Cheesey marmite ( only available from South Africa )
Maarmite ( jubilee celebration )
Mini-marmite (single portion )
Gold Marmite ( Olympics edition 2012 )
Squeezy Marmite
Cheesey marmite (again)
Marmite ( from New Zealand) Post "Marmageddon" jar.

Bottom row L->R
Regular jar Marmite,
Guinness Marmite
Valentines Marmite ( Champaign )
Marstons Pedigree Marmite ( 2009 Ashes tour )
Marmite XO ( original )
Marmite XO ( new packaging 2013)

All new and sealed.

Enjoy and read more over on Wikipedia.

Tuesday, 30 April 2013

Major environmental fail.

Roast a panda, skin a leopard, eat some koalas and sleep on a pillow of monarch butterfly wings because they will all go the same way as the uber cool Pangolin.  Pangolin is cute critter, not unlike an armadillo, grows slowly and live in the delicate forest undergrowth doing nothing in particular.  If the world can't look after this really basic species there is no hope for the headline conservation effort for tiger, elephant and panda.


Endangered Pangolin
image credit: Tim Hudson and Kamal Mistry

Major fail recently, the chinese captain of a boat crashed into a Uneso-designated World Heritage coral reef site on Palawan island in the Philippines. If that's not bad enough in the boats hold had thousands of illegally killed pangolins.  Pillaged from the forests of asia to satisfy the corrupt and broken desires of ineffective "traditional" medicine this little cutie will soon be gone forever.  It's cousins on the Chinese mainland have all but gone already and other sub-specisis will soon follow.

Trade in these darlings has been world wide banned for over 10 years and yet still the slaughter continues. Got run up the trading tree and exposing the facilitators of this exploitative trade, the trappers, shippers, movers, sellers. Going to do this by supporting Traffic in their good works.

#RejectDeadAnimalMedicine







Thursday, 25 April 2013

A special place in hell for .... James McCormick

** 2016 Update An £8 Million confiscation order was enforced on this fraudster **

I am not a particularly religious person with mild beliefs in that area but if I believe in anything it's the principle of "do as you would be done by." The reinforcers for that principal are not always obvious but what I really hope, and pray for, is that there is a special place in the hell fires of damnation reserved for those that betray the deepest trust of others.  Abusers that recognise the trust and belief of others and deviously manipulate and betray that trust are truly evil.  That hotspot in Hell is going to be a crowded place but there is plenty of room for the groping priests and dictators that take people over and past the edge of ruin. Mugube and Kim Yun-un you have your places booked in the fine company of Hitler, Pol Pot and Bernie Madoff.

Those bad boys are going to have to move over and make room for the new boy who most certainly will, in gods own time, be joining that pantheon of shame.  Introducing James McCormick a criminal fraudster whose actions beggars belief. He used bribery and corruption to sell fake bomb detectors for use by police and soldiers in Iraq.  Put yourself for just one minute in the place of the guard at the checkpoint with a duty of protection who's only tool can at best be described as a 100% placebo.  Trust is burnt, obligation of care and duty to society is literally blown away for the enrichment of some shithead thousands of miles away.  Yes, there will be other facilitators along the way that share the blame and shame for this despicable crime. Passing off a novelty golf ball detector, which did not even work for that minor function, as a serious public protection instrument is a staggering act of betrayal and corruption.


A whistleblower told the BBC Newsnight program that he had confronted McCormick, saying he did not want to be any part of the business if the devices did not work. McCormick is said to have responded: "It does exactly what it's designed to. It makes money." During his fraud trial, the court was told the detectors, which cost up to $40,000 (£27,000) each, were completely ineffectual and lacked any grounding in science.



Fake bomb detector

Bulletproof medallions, value for money payday loans, effective diet pills and a fair price for your gold/car/house today. All available on the internet near you.

The defence, recognise the principles behind how things work, be just a little bit skeptical and really research and understand what is going on.

Follow-up:  The wheels of justice roll slowly and we see that Mr. McCormick is sentenced to 10 Years in jail for fraud. To be fair that should be 10 years in jail in each of the countries the device was sold in.


Sunday, 21 April 2013

Veg Patch

Had a good weekend being rather domestic. Mostly putting some structure into the Veg patch. A couple of fruit cages at each end and some bean sticks in the middle.  The poly tunnel has some early beetroots and carrots under.  The far end has purple spouting broccoli. Spuds are in a few grow bags on the patio.

As spring is a few weeks late this year, the trees are just starting to sprout, so there is time to get started on great tasting home grown veg.



What with the wood, netting, screws, nails, bamboo poles, slug pellets and wire, the veg patch will probably cost more than the produce.  That's not the point people, home grown veg are tasty and rewarding in other ways.

Thursday, 28 March 2013

Sharp, on-point and timeless news cartoons

Love the toons - sharp and to the point, topical and scathing.

Zapiro in South Africa, in News & Guardian


continues the heritage from Ron Cobb from the 70 & 80s.
Awesome.