Archive for January, 2011

Energioptimering

No Comments »

Med allt prat om energieffektivisering som pågår så här års så fick jag en idé om att kanske inte köra mitt seti@home projekt 24/7 utan under vintern isåfall köra det på utvalda tidpunkter.

T.ex vissa dagar så är ju våra fina kärnkraftverk avstängda för renovering “as usual” på vintern, och då måste vi ju då således importera dyyyr el till Sverige för att distribuera vidare till leverantörer och kunder etc.
Snilleblixten var ju då att man då stänger av sina fina beräkningsprogram under dessa timmar/dagar som man kanske betalar typ 400% mer än man gjorde för några dagar sedan, så kan man ju på ett enkelt och smidigt sätt energioptimera för att hålla nere sin förbrukning vid just detta specifika tillfälle.

Denna princip kan man ju givetvis implementera på allt i hemmet: Lampor, diskmaskin, spis, you name it om man så vill.

Jättebra tänkte jag! Så gör vi…. Meen ganska snabbt så stöter man på tanken som säger: “Hur fungerar det egentligen på mitt anslutna energibolag??”
Nåja summa sumarum är att i mitt fall (Eon) så mäter de bara på mätaren exakt en gång i månaden hur mycket som har gått åt just denna månad.

Det gör ju automatiskt att man inte kan göra någon form av energioptimering vid ett specifikt tidsintervall , per minut, per timme , dag , vecka över huvud taget utan det slår ju bara igenom på månadssnittet som då givetvis har sjunkit lite men kWh priset är ju då givetvis detsamma eller marginellt mindre på 0.0001 öre för att jag har påverkat Eons inpriser och förbrukning vid det tillfället och det slår igenom på alla dess anslutna kunder förmodar jag.

Så! Där föll min tanke… Men!!

Om privatpersoner skulle vilja ha denna möjlighet att kunna påverka vad vi förbrukar faktiskt under ett specifikt tidsintervall som t.ex är satt på varje timme som det är för vissa av elleverantörernas företagskunder så skulle många i Sverige faktiskt kunna påverka just snittpriserna på det rörliga kWh priset och självklart sin egna kostnad.

Så, kort och gott. Ju mer privatpersoner som mig som verkligen skulle vilja ha möjligheten att kunna åtminstone påverka sin förbrukning per timme ju lättare skulle man kunna komma till det målet om fler var enade.

Spread the word!


Our sponsored server is up and running at seti@home

No Comments »

Atlast!!

My team and i has contributed to building a new server to the seti@home lab in Berkeley.
We managed to raise aprox $3800 and Todd donated the two Xeon Hexacore CPUs, and if that weren’t enough some more members in the team sponsored so we could get 96GB total of RAM in that machine.
Seriously i don’t think that performance should be an issue now when they got themselves three new servers , each with 96GB of ram in about one month time now.
Well, atleast one of those is sponsored by our team GPU Users Group.
Btw did i mention that we 69 users are positioned the most productive team in seti@home for the time beeing with team Seti.USA at second place with 14160 members!
Yes, we really are devoted to seti!

Link to technical news… http://setiathome.berkeley.edu/tech_news.php

Thank you all who donated money for this server and thank you Todd for your time and effort coordinating, building and testing this donation.


Small story of how it feels like beeing a payload in a PCI-E bus

No Comments »

As a frequent seti@home n3rd that i am i was taking part in a post on the forum about PCI-E bus transfers.
Well i know it’s Sunday and i’m newly awake but i couldn’t resist in making a small story about how it feels like beeing a small payload on the PCI-E bus.

Directly Cut’n Paste’d from what i wrote in the seti@home forums.

“Think of a highway with almost no stops that leads from Washington D.C to Chicago.. It’s 16 lanes in each direction.
When you have alot of shipments you send 10000 trucks from Washington to Chicago, more trucks can fit the highway and thus it arrives at it’s destination faster and almost all at once.
But unfortunately the telephone and email has not been invented at this time so to know what to do with the shipment you send a driver back from Chicago to Washington with a letter which says “Thanks for the goods, where should we send this?”.
The driver is going there on the highway , he has no friends and it’s all silent and dull on the highway.
A couple of hours later the driver gets back to the office in Washington, the manager (CPU) opens the letter and reads “Thanks for the goods, where should we send this?” , Manager thinks OMG why didn’t i think of that and quickly writes a letter which says “All goods from the 10000 Lorrys should be sent to Factory xxx at xxx road in Calgary”.

All is good the driver heads back to Chicago, as usual he sees hardly none traffic at all and thinks why haven’t anyone figured out a way to quickly send messages to eachother at different locations because he has a lot of time on the way to start to think of other things.
Starting to get annoyed about that he has to drive back and forth to deliver messages but he knows that it needs the delivery to be confirmed at it’s destination (TCP) and if something happens on the way with the information they need to send another guy to do it’s work again (TCP RESEND), he starts to sigh thinking if there is a good way to make use of foolproof deliverys with pidgins (UDP) but he quickly finds out, Crap! That isn’t doable..
He’s finally back to Chicago and heads to the office (GPU) in which the boss quickly opens the letter and smiles at start .. then.. he takes a paper and pen and starts to write .. “By which type, by truck, by rail, by flight” takes an envelope folds the paper and put it into the envelope and says.. “Sorry you need to go to main office ASAP”..

The truck driver starts to hate hes life as he starts to chugg the loooong way back again to Washington from Chicago curcing why the hell the trucks has a speedlimiter set att 100MPH, if the truck had a speed limiter set at atleast 110MPH it would save him atleast 45 minutes getting there, the traffic (bandwidth) is not an issue instead it’s the speed of the highway that annoys him greatly as he curses why the hell someone hasn’t invited faster trucks and those stupid guys at the American Road Agency (don’t know the name) hasn’t upped the speed limit at the highway’s to atleast 110, it shouldn’t do any harm!

Well times fly by (processing time), the load is still there at Chicago and hasn’t moved anywhere due to undetailed information at start..
The driver gets back to the office in Washington (CPU) and the manager opens up and reads.
Here we go again, up with that paper he writes “By flight” folds that paper and put it into a new envelope and says “Well by this time i think you know what to do, huh?!” (cache) , then he smiles back to you and you gave out a long *sigh* and headed back to the truck and up to Chicago once again..

During that trip the driver starts to think.. Hey, have i seen this road before? . He hates that they haven’t invented foolproof deliverys of pidgins once again (UDP Resend.. Hmm hey can’t compute.. error) and quickly bins that idea. He utterly hates speedlimiter on trucks along the speedlimit on the roads and thinks of ways to speed it up a bit (overclocking).

Times fly by faster and he starts to think that soon this shipment could be of to it’s real location.. For once he starts to grin as he arrives to Chicago.
When he arrives he rushes up to the office thinking Yes, finally we could be heading away with the goods , knocks on the door to the boss (GPU) , no answer?
… He knocks again but more firmly this time.. The boss coughes and finally says come in, apparantly he fell asleep (Gpu idle clockdown) but hey he is a human after all. Driver gives the letter to the boss with a smile and thinks Yes, Calgary.. But… WTF…. he grabs a new stupid paper and writes.. “Departure?” …. OMG.. he can’t be serious shouldn’t it be the nearest departure, it should be.
Buuut in this company it’s all about confirmation.. So with the drivers head in a low position he says to the boss “Yea yea, i know the drill back to main office once again” (Cache).

The drivers head was blank, he now could hardly breathe, if only this loong trip could be more funny and speedier (overclocking).
Time flies by, and by the time the driver thinks of ways to improve things but with no other around he has trouble venting his ideas so he starts to close up to himself.

The truck is now back at washington, he drags himself up the stairs and thinks “this is it”, he’s exhausted.
Knocking on the door he almost immediately here the voice that states “come in”, man those managers are fast i had barely touched the door in a split microsecond before he said come in.
Driver hands the letter once again and hopefully thinks that this is the last time he needs to go back Chicago but he’s not overly convinced.
Manager writes four letters on the envelope and sighed “Why can’t anyone think for themselves”, he put that in a fresh new envelope and sealed it and gave to the driver..

With a already low head position the driver takes this letter and he mumbles cursing he’s own miserably life, instead of a lorry driver he should’ve been a cook instead (software coder) or perhaps a braindead thing that makes all the food eatable like a stove or something (compiler).

Naah, of we go..

At that time when he travels that looong dreaded way back to Chicago he comes up with an idea.
Instead of having a huge lorry in which he takes a small envelope with him all the time, the highway should have two express lanes in each directions which the speed limit was 800Mph. If that were possible he could take another vehicle for those small packages which hasn’t contributed to any sort of increased weight and be able to travel between Washington and Chicago at only one eights of that time required.
He shines up and thinks hey this is not a bad idea, slow crappy bulgy lorrys in this wide lane and a parallell high speed vehicle lane.
This is brilliant! But who the f*** listens to a small worker like me.
Everything is about the money and reducing costs these days and he quickly finds out that no company in the world would be willing to invest that money and time in producing it and he quickly finds himself stuck in time again!
He cries out “Why can’t anyone with a high position enough come up with this, we need to think outside the box really!!” , he’s frustrated.
The cargo at Chicago has been stopped for days now, and for what?
No detailed information at first so we can do it right from the beginning which in terms lead to fewer delays (software engineering and optimising)..

Time flies by , albeit slowly ofcourse.
The driver is back to Chicago and with heavy steps he walks to the bosses office and knocks. No answer! Exactly as last time he thinks. He waits, knocks on the door again.. No answer?!! “What?!” , knocks on the door and waits. Still no answer!! Bah, he puts he’s hand to the knob and carefully opens the door, and that sight he wishes he would never have seen at all!
There he was the boss, hung from a beam in the roof and the driver was scared stiff (Driver hang … Driver/Boss! 🙂 ) .. Holy crap! How the f* did this happen? He quickly backs out and closes the door and wishes with all hes heart that this was a dream.
He starts to go from there to get anwers! A few steps away he notices that he has dropped the envelope and he turns around and walks into the door to the office and there he was again, sitting in the chair like nothing ever has happened with a cut gallow around hes neck staring at him at he enters the door shouting. “When you work at this company, you ALWAYS knock before entering a room!”
The driver thought he was dreaming (driver restart) but quickly responds “I’m sorry sir! Here are the last orders from Washington”

The boss yanks the letter from the driver and frowns, he opens up and reads.
The face slowly starts to smile saying “Well let’s get to it”.. Go to the other lorrys and wait for departure to the airport.

The driver shines up and starts to smile and starts to rush out from the door running towards the other trucks thinking “Atlast!!” , but he halts thinking what was that?
He heads back in to the room asking for permission to speak as he behaved so badly..
Driver: I’m just curious, what was it it said in that letter that could confirm this, i started getting used to the highway instead of doing what it sayed that i was employed for.
Boss: Well with this magic word, i could take care of the decisions much easier so for what it’s worth for you that magic word was. ASAP
The driver stared at the boss and gasped “So with this magic letters or word my trips back and forth could have been saved if it had come directly from the beginning? (Software optimising, rescheduling)
Boss: Yes

The driver was so furious, he wants to kick the software developers in the a** but at the same time he was glad to came up with that idea with a high speed communincating lane parallell to the highway and hopefully someone makes that idea come to life in the future if he evers dare to speak of it..

Driver: “I’m on my way sir, thank you for not firing me for not beeing polite to knock at that door”
Boss: “Anytime, but always wait for an answer before entering my office in the future, got it?” (Interupt management)
Driver: “Most certainly Boss”

The driver smiled and turned again walking towards hes awaiting friends..”

Perhaps i need to start to write a book with the title
“Computers are sensitive to man kind” 🙂

http://setiathome.berkeley.edu/forum_thread.php?id=62704&nowrap=true#1064934


How to make a XP machine to boot when migrating system from one machine to another

1 Comment »

Well

There are numerous websites out there which helps you with the possibility to migrate a machine to a virtual machine or perhaps another hardware.
The usual fix is to run mergeide BEFORE you do your shift or upgrade and that includes extracting the files Atapi.sys, Intelide.sys, Pciide.sys, and Pciidex.sys from your latest spX.cab in your %windir%\driver cache directory.

So far so good..

But perhaps you did a ghost of a machine which you either forgot or migrated that particular ghost image to another computer then most often you are stuck with that famous blue screen. (Ghost in this case could be a opensource program of your choice, there are numerous out there and the word Ghosting is more refered as a term)
Computers also have a tendency to die and some customers simply can’t stand with setting up a new computer from scratch because they can’t live with the small differences that usually exists when setting up a new system, so you start to take your ghost file and recover that on a new machine so they can take over from where they were with brand new hardware instead.

Well there is a quick and simple solution to this dilemma.

Make a copy of your beloved mergeide.reg file and start to edit the file..
If you look at the original file below here you can compare that to the other file which i edited:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\primary_ide_channel]
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
“Service”=”atapi”

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\secondary_ide_channel]
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
“Service”=”atapi”

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\*pnp0600]
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
“Service”=”atapi”

These are the first three posts included in that mergeide.reg file now compare that to the one below:

[HKEY_LOCAL_MACHINE\mergeide\ControlSet001\Control\CriticalDeviceDatabase\primary_ide_channel]
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
“Service”=”atapi”

[HKEY_LOCAL_MACHINE\mergeide\ControlSet001\Control\CriticalDeviceDatabase\secondary_ide_channel]
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
“Service”=”atapi”

[HKEY_LOCAL_MACHINE\mergeide\ControlSet001\Control\CriticalDeviceDatabase\*pnp0600]
“ClassGUID”=”{4D36E96A-E325-11CE-BFC1-08002BE10318}”
“Service”=”atapi”

Now you can see that instead of the value SYSTEM\CurrentControlSet i’ve exchanged that to mergeide\ControlSet001..

Well do a quick find and replace for all of the occurrences and save the .reg file.

Now boot to a Vista/W7 cd and go into repair mode of that one (or if you got your own WinPE based CD) , click to go to the command prompt.
Open up regedit there and open your %windir%\system32\config\SYSTEM file with the Load hive feature. Be sure to name your hive to mergeide in this particular example.
Import the newly edited reg file in which you replaced that original registry paths SYSTEM\CCS to mergeide\CS001..
After that is complete, disconnect the Hive.

Reboot and don’t forget to set your controllers to IDE mode in bios and perhaps turning of the INTELPPM service and you should be all set to go until you perhaps notice another driver which BSODs that belongs to the other machine, but some detective work, uninstalling of drivers in Add Remove program and amongst the Non Plug’n’Play drivers in device manager usually solves that issue in failsafe mode.

Now you only need to perhaps manually exchange the HAL from your ACPI PC to a ACPI Multiprocessor HAL to use all avaible cores in that systems but that is another story 🙂