Quote:
Originally Posted by
zaxxon
You also have to keep in mind, that sloppy code will not always be speeded up by pure hardware power. There might be some point where there is not much speedup seen, no matter what you activate.
This is absolutely true.
Sloppy code is usually not only demanding more resources than it ought to demand but also demanding more resources to modify it. That means that software maintenance will be a lot more costly than with good code and this will raise the TCO of the program(s).
If systems you administrate are performance-critical the best advice i can give you: agree to some form of SLA with your customers. Get some number which can be measured - number of transactions, response time in seconds, whatever - and get your customer to agree about some threshold value which will mark the border between their needs being met and their needs being not met.
This is raising demands from the subjective feeling ("i feel the system is somewhat slow today") to an objectively measurable fact. Either the system is "fast enough" or it isn't but as long as you are measured against some gut-feeling of some people whose benevolence is usually in great doubt (they simply don't care if they make life miserable for you) you are fighting an uphill fight.
So get your customers to agree to some value of
x which they will deem satisfactorial and every complaint from there on can be measured against this value and proven to be correct (=you have to work) or wrong (=they have to shut up).
I hope this helps.
bakunin