News for hackers. Stuff that matters.
Re:How Much Does a Single Search Cost Google? by storborg on Sunday January 16, 2011 @09:39PM (#2111015)
While these numbers are sort of interesting, they are misleading, because the 1.18 cents/search number that the author provides is not actually the cost of a single search.

A more useful analysis would be to estimate the marginal cost of each additional search (e.g. if I go make a search right now, how much extra does that cost Google?).

Likewise, there is a similar number that represents the marginal cost of each additional webpage that Google indexes.

Re:How Much Does a Single Search Cost Google? by nostrademons on Sunday January 16, 2011 @10:41PM (#2111121)
Wouldn't that be zero at most off-peak times? Machines are gonna use electricity whether you're using them or not.
Re:How Much Does a Single Search Cost Google? by pedrocr on Sunday January 16, 2011 @11:23PM (#2111193)
Power consumption will vary based on usage on modern machines and Google could do automatic boot/shutdown of machines to match demand. But the marginal cost in electricity alone should still be pretty small.
Re:How Much Does a Single Search Cost Google? by uvdiv on Sunday January 16, 2011 @11:50PM (#2111251)
According to this link someone else found [1], they claim to use 0.0003 kWh electricity per amortized search, which at e.g. 0.06 USD/kWh (typical [2]) is 1.8*10^-5 USD, or 0.26% of search costs (according to the estimates in the article).

[1] http://googleblog.blogspot.com/2009/01/powering-google-searc...

[2] http://www.eia.doe.gov/cneaf/electricity/epm/table5_6_a.html

Re:How Much Does a Single Search Cost Google? by uvdiv on Sunday January 16, 2011 @11:58PM (#2111262)
(In a related estimate, 0.0003 kWh/search means 54 CPU-core-seconds of indexing per search, assuming (without any justification and probably wrongly) that (i) most electricity consumption is by CPUs during indexing and (ii) they are using x86 machines with about 20W/core power consumption. I'm sure someone else here can fix/improve this estimate.)
Re:How Much Does a Single Search Cost Google? by sandGorgon on Sunday January 16, 2011 @11:46PM (#2111239)
but its not about running power - its about cooling costs, which IMHO makes up the bulk of a data center's expenditure.

I'm not sure if there has been any innovation in this area (shut off power AND cooling for certain areas in the data center)

Re:How Much Does a Single Search Cost Google? by wtallis on Sunday January 16, 2011 @11:59PM (#2111268)
There has been a form of innovation - in some server farms that consist of thousands of interchangeable computers, they simply don't try to cool them, and instead just exchange air with the outdoors (possibly with a bit of filtering). If your software doesn't mind having nodes frequently drop out due to overheating, then it apparently is cheaper to replace melted CPUs than to keep them all cool.

http://blogs.technet.com/b/msdatacenters/archive/2011/01/04/...

Re:How Much Does a Single Search Cost Google? by SwellJoe on Monday January 17, 2011 @01:22AM (#2111401)
Which is also why more data centers, including Google data centers, are being built in cool climates. If you're exchanging for cold outside air, you get to keep more of your servers from melting down without paying more for cooling.
Re:How Much Does a Single Search Cost Google? by pedrocr on Sunday January 16, 2011 @11:49PM (#2111247)
Sure, but you don't need to cool heat you haven't generated.
Re:How Much Does a Single Search Cost Google? by sandGorgon on Monday January 17, 2011 @12:24AM (#2111312)
I dont think it works that way - in centralised cooling spaces, they have to keep their cooling machines running. So, it costs the same whether you are generating that amount of heat or not.

To cut down on cooling, you need to architect your farm to have smaller, independent cooling systems. However, your system must also be architected such that weird things like "only machine is active in my cooling cluster, so I cant shut down the cooling for that area" cannot happen.

I'm not sure if things like that have been solved.

Re:How Much Does a Single Search Cost Google? by pedrocr on Monday January 17, 2011 @01:08AM (#2111389)
The AC will be on 24/7 but surely it will use less power if it has to get rid of less heat.
Re:How Much Does a Single Search Cost Google? by brudgers on Monday January 17, 2011 @11:47AM (#2112616)
Correct, HVAC systems are designed to handle variable capacity and to stand down as demand lessens in the same way as a data center is. It's such long standing practice that most recent homes even have variable speed compressors on the condensing unit and multi-speed fans on the air handler.
Re:How Much Does a Single Search Cost Google? by DougBTX on Monday January 17, 2011 @05:04AM (#2111739)
I think pedrocr means that the baseline would be moved down, so that less cooling in total would be required, not that they reduce the amount of cooling used during usage dips.
Re:How Much Does a Single Search Cost Google? by bl4k on Monday January 17, 2011 @04:04AM (#2111632)
I would guess that in such a case the largest portion of cost would be bandwidth.
Re:How Much Does a Single Search Cost Google? by mwbiz on Sunday January 16, 2011 @10:53PM (#2111148)
The calculations are quite tricky given the granularity of data the author is working with. I agree that a marginal cost calulation is a bit more useful as the cost of development staff is not really relevant here as this is an R&D cost. The exception being those employees that work on technologies to sustain the growth of pages and searches and the IT staff to maintain the infrastructure. Without management accounting data the figures will be rough estimates at best.
Re:How Much Does a Single Search Cost Google? by ma2rten on Monday January 17, 2011 @05:33AM (#2111784)
Well, you would need to calculate the marginal cost if you were really interested in what a particular search costs, but I think this number is actually says much more.

It is the amount that Google is spending on average on a search and thus it is the amount that Google has to earn back on average per search in order to be profitable.

Re:How Much Does a Single Search Cost Google? by biot on Sunday January 16, 2011 @09:56PM (#2111050)
Also the 0.68 cents is cost of search-related revenues divided by number of searches. However, presumably there are only revenues when someone clicks on an ad on the search results page. So a more accurate number would also factor in the ratio of ad clicks to searches. If there's one ad click per 10 pages on average, these numbers are off by an order of magnitude.
Re:How Much Does a Single Search Cost Google? by lwat on Sunday January 16, 2011 @10:14PM (#2111072)
I think you're mistaken, his calculating is not dependent on click-through rates.
Re:How Much Does a Single Search Cost Google? by biot on Sunday January 16, 2011 @10:36PM (#2111109)
You're right... I misunderstood it.
Re:How Much Does a Single Search Cost Google? by praptak on Monday January 17, 2011 @05:26AM (#2111770)
"A more useful analysis would be to estimate the marginal cost of each additional search (e.g. if I go make a search right now, how much extra does that cost Google?)."

Interesting, but tricky. Is the price of the new servers they need to buy for the peak processing marginal or fixed cost?

Re:How Much Does a Single Search Cost Google? by ma2rten on Monday January 17, 2011 @05:37AM (#2111791)
Marginal, but you would have to multiply it by the fraction of times that happens, so it would still be quite low.
Re:How Much Does a Single Search Cost Google? by praptak on Monday January 17, 2011 @07:10AM (#2111935)
I agree in principle, but this fraction would be easy to get if they just had to buy a server after a fixed number of clicks. But they only have to if the peak usage grows. Peak usage grows, they buy some servers, then go on for some time processing huge amounts of clicks. Things might get even more complicated if they decide to spend the (now) excess processor power on something else.
Re:How Much Does a Single Search Cost Google? by Wilduck on Monday January 17, 2011 @11:21AM (#2112536)
Fixed, because it happens in the long run. That is, they can't buy another server in response to your additional search.