Home
entries friends calendar user info Previous Previous Next Next
Smash the Municipality! - Huh.
l'internet, c'est moi
en_ki
[info]en_ki
Add to Memories
Tell a Friend
Huh.
Update: Dear Google,

I am flattered and humbled by my evidently high pagerank and freshness rating, but getting my own post as the top hit for search terms relevant to my question 10 minutes after I posted it does not actually help me. Perhaps I will come to appreciate it if the Lazyweb provides some answers. Over to you, Lazyweb.

The Linode I use to run a domain for my friends costs $30/mo. An equivalent storage + bandwidth setup on Amazon S3 would cost < $2/mo, while the equivalent computing usage level (73% avg CPU!) on Amazon EC2 would seem to be about $55/mo.

Allegedly the CPU usage on Linode is not due to a spambot having taken over my Linux box but rather to rngd, which feeds the random-number-generator entropy pool from the (simulated? multiplexed? not sure how this works on a Linode VM) hardware random number generator. I asked the Linode support people about this and their position was "it's normal". But if that went away, my EC2 cost would probably be around $5 rather than $55, so I want to figure out if I should expect that on an EC2 box.

The RNG-related functionality on the Linode that I am committed to providing is:

* ssh access
* SSL access to Squirrelmail
* (presumably trivial) incidental usage, like maybe password salts every now and then?

On and off (consistently on since I recently had evidence of active snooping), I have used "ssh -D" to proxy my personal web browsing via that machine, but the rngd issue had been around long before that and that is optional functionality.

I'm curious if anybody else has been using EC2 in a similar way, what you're actually paying for CPU, and whether rngd has been a problem.

Update: Ah, I'm misunderstanding EC2. It seems that CPU usage isn't pro-rated; it's just hours the machine is up. So EC2 is not a win for general-purpose service hosting yet, and I probably want to just focus on moving to special-purpose hosting.
Comments
oonh From: [info]oonh Date: April 18th, 2008 06:15 pm (UTC) (Link)
I'm tempted to say "why can't you turn rngd off and once a while pull from hotbits?
en_ki From: [info]en_ki Date: April 18th, 2008 06:17 pm (UTC) (Link)
Do I really want to trust the Swiss?
merle_ From: [info]merle_ Date: April 18th, 2008 08:49 pm (UTC) (Link)
You and [info]28bytes have an incredibly fast google refresh rate. I seem to be immune from indexing due to my trailing underscore: http://en-ki.livejournal.com/robots.txt exists, but http://merle_.livejournal.com/robots.txt redirects to a file that does not exist.

Why would a hardware RNG need to use the CPU? I thought most of them were separate cards, in which case all it should need is power. Unless it is trying to extract randomness from the CPU in some manner...
en_ki From: [info]en_ki Date: April 19th, 2008 12:32 am (UTC) (Link)
Stirring the bits into the entropy pool may be what the CPU is being spent on. I'm not at all clear what doing this a million times per second does for me or how to make it stop and yet still have good random numbers.
4 comments or Leave a comment
profile
Tuco Benedicto Pacifico Juan-Maria Ramirez
User: [info]en_ki
Name: Tuco Benedicto Pacifico Juan-Maria Ramirez
calendar
Back May 2008
123
45678910
11121314151617
18192021222324
25262728293031
page summary
tags