0

I am running some computationally expensive jobs, and would like to run them in the fastest way possible. I have three options:

  1. ssh from workstation A in network A (Ubuntu) into workstations B, C, D etc in network B (Centos) to run the jobs
  2. physically walk to workstation B in network B and ssh into workstations C, D etc to run the jobs
  3. physically walk to each workstation to run the jobs

Would they all run at the same speed? If not, which would be the fastest, and why?

1 Answers1

2

I recommend using version 1., but with a twist: Use a session managemnet tool like screen, tmux and friends.

This solves two problems:

  • If the console output from a job is faster than your network speed, the job will indeed slow down (rather not likely in a LAN, but may easily be over the internet). By detaching from your screen session this problem goes away.
  • If you drop your SSH connection (e.g. by fat-fingering), the remote job will catch a SIGHUP and will end. If you use screen, it will keep running and you can later reattach.
Eugen Rieck
  • 20,637