Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

So, this is more of a general question than a specific problem. I'm using AWS and I have my main web server on an m1.medium instance but there are some computationally intensive tasks that I want to run so I created an high compute (multicore, high speed) c1.medium instance as well.

I was thinking of putting all the scripts I want to run in the compute server. These are obviously separate volumes but I wanted to know which would be a better approach.

  1. SSH + call the script on the compute server or
  2. NFS mount the compute server and call the script

I'm fairly sure I know the behavior of #1 but I'm not sure about #2. If I did that would it use the CPU on the compute instance? Because that's the whole point in splitting them

share|improve this question

closed as not constructive by mdpc, Ward, Dave M, Jenny D, growse Jun 22 '13 at 21:03

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

up vote 2 down vote accepted

The answer is... no. The script is called on the m1.medium instance, so the CPU there serves that script. The NFS server running on the high compute instance will consume some CPU, but minimal. What youve said is sound.

share|improve this answer
    
"The program runs on the CPU of the system it was started on" is the short version :-) –  voretaq7 Jun 21 '13 at 20:19
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.