How many parallel scripts can I run without performance degradation?
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I need to run a python script that performs TLS socket connections to a list addresses. I need to finish the task as soon as possible. I plan to run 16 terminals, each terminal is running a script (each script goes in a loop to connect to the addresses). The script is sequential and perform one TLS connection at a time. Does this number degrades the device's performance or can cause network traffic loss? Of course I do not want to cause losses.
My device is running Ubuntu 18 64-bit in 8 GB RAM, Intelî Core⢠i5-6500 CPU @ 3.20GHz à4.
networking terminal performance high-performance multiprocessor
add a comment |Â
up vote
0
down vote
favorite
I need to run a python script that performs TLS socket connections to a list addresses. I need to finish the task as soon as possible. I plan to run 16 terminals, each terminal is running a script (each script goes in a loop to connect to the addresses). The script is sequential and perform one TLS connection at a time. Does this number degrades the device's performance or can cause network traffic loss? Of course I do not want to cause losses.
My device is running Ubuntu 18 64-bit in 8 GB RAM, Intelî Core⢠i5-6500 CPU @ 3.20GHz à4.
networking terminal performance high-performance multiprocessor
1
You'll have to find out by experiment. And does the script really need a terminal? It would be better if it simply acted on plain I/O and command-line arguments, then you could just run it at the appropriate parallelism withxjobs
or GNUparallel
...
â Toby Speight
9 hours ago
By terminal I mean just runninpython myscript.py
repeatedly. Each script takes a set of input.
â user9371654
9 hours ago
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I need to run a python script that performs TLS socket connections to a list addresses. I need to finish the task as soon as possible. I plan to run 16 terminals, each terminal is running a script (each script goes in a loop to connect to the addresses). The script is sequential and perform one TLS connection at a time. Does this number degrades the device's performance or can cause network traffic loss? Of course I do not want to cause losses.
My device is running Ubuntu 18 64-bit in 8 GB RAM, Intelî Core⢠i5-6500 CPU @ 3.20GHz à4.
networking terminal performance high-performance multiprocessor
I need to run a python script that performs TLS socket connections to a list addresses. I need to finish the task as soon as possible. I plan to run 16 terminals, each terminal is running a script (each script goes in a loop to connect to the addresses). The script is sequential and perform one TLS connection at a time. Does this number degrades the device's performance or can cause network traffic loss? Of course I do not want to cause losses.
My device is running Ubuntu 18 64-bit in 8 GB RAM, Intelî Core⢠i5-6500 CPU @ 3.20GHz à4.
networking terminal performance high-performance multiprocessor
networking terminal performance high-performance multiprocessor
asked 9 hours ago
user9371654
2326
2326
1
You'll have to find out by experiment. And does the script really need a terminal? It would be better if it simply acted on plain I/O and command-line arguments, then you could just run it at the appropriate parallelism withxjobs
or GNUparallel
...
â Toby Speight
9 hours ago
By terminal I mean just runninpython myscript.py
repeatedly. Each script takes a set of input.
â user9371654
9 hours ago
add a comment |Â
1
You'll have to find out by experiment. And does the script really need a terminal? It would be better if it simply acted on plain I/O and command-line arguments, then you could just run it at the appropriate parallelism withxjobs
or GNUparallel
...
â Toby Speight
9 hours ago
By terminal I mean just runninpython myscript.py
repeatedly. Each script takes a set of input.
â user9371654
9 hours ago
1
1
You'll have to find out by experiment. And does the script really need a terminal? It would be better if it simply acted on plain I/O and command-line arguments, then you could just run it at the appropriate parallelism with
xjobs
or GNU parallel
...â Toby Speight
9 hours ago
You'll have to find out by experiment. And does the script really need a terminal? It would be better if it simply acted on plain I/O and command-line arguments, then you could just run it at the appropriate parallelism with
xjobs
or GNU parallel
...â Toby Speight
9 hours ago
By terminal I mean just runnin
python myscript.py
repeatedly. Each script takes a set of input.â user9371654
9 hours ago
By terminal I mean just runnin
python myscript.py
repeatedly. Each script takes a set of input.â user9371654
9 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
That's impossible to answer!
Technically any task degrades performances, but that's probably not what you want to know.
It depends a lot on the specific task and what else the machine is doing. My guess would be that you can do what you plan.
And a minor detail: There's no such thing as "Ubuntu 18", there's 18.04 and later this month 18.10 should come - but if you can make that mistake you probably aren't testing 18.10, so I'm guessing you mean 18.04 - And it doesn't matter!
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean usinghtop
andnethogs
tools?
â user9371654
9 hours ago
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
That's impossible to answer!
Technically any task degrades performances, but that's probably not what you want to know.
It depends a lot on the specific task and what else the machine is doing. My guess would be that you can do what you plan.
And a minor detail: There's no such thing as "Ubuntu 18", there's 18.04 and later this month 18.10 should come - but if you can make that mistake you probably aren't testing 18.10, so I'm guessing you mean 18.04 - And it doesn't matter!
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean usinghtop
andnethogs
tools?
â user9371654
9 hours ago
add a comment |Â
up vote
0
down vote
That's impossible to answer!
Technically any task degrades performances, but that's probably not what you want to know.
It depends a lot on the specific task and what else the machine is doing. My guess would be that you can do what you plan.
And a minor detail: There's no such thing as "Ubuntu 18", there's 18.04 and later this month 18.10 should come - but if you can make that mistake you probably aren't testing 18.10, so I'm guessing you mean 18.04 - And it doesn't matter!
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean usinghtop
andnethogs
tools?
â user9371654
9 hours ago
add a comment |Â
up vote
0
down vote
up vote
0
down vote
That's impossible to answer!
Technically any task degrades performances, but that's probably not what you want to know.
It depends a lot on the specific task and what else the machine is doing. My guess would be that you can do what you plan.
And a minor detail: There's no such thing as "Ubuntu 18", there's 18.04 and later this month 18.10 should come - but if you can make that mistake you probably aren't testing 18.10, so I'm guessing you mean 18.04 - And it doesn't matter!
That's impossible to answer!
Technically any task degrades performances, but that's probably not what you want to know.
It depends a lot on the specific task and what else the machine is doing. My guess would be that you can do what you plan.
And a minor detail: There's no such thing as "Ubuntu 18", there's 18.04 and later this month 18.10 should come - but if you can make that mistake you probably aren't testing 18.10, so I'm guessing you mean 18.04 - And it doesn't matter!
answered 9 hours ago
Henrik
3,3001418
3,3001418
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean usinghtop
andnethogs
tools?
â user9371654
9 hours ago
add a comment |Â
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean usinghtop
andnethogs
tools?
â user9371654
9 hours ago
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean using
htop
and nethogs
tools?â user9371654
9 hours ago
I do not plan to do any work with the tasks. Can you provide tips on how to check if it is possible or not? Do you mean using
htop
and nethogs
tools?â user9371654
9 hours ago
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f474279%2fhow-many-parallel-scripts-can-i-run-without-performance-degradation%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
1
You'll have to find out by experiment. And does the script really need a terminal? It would be better if it simply acted on plain I/O and command-line arguments, then you could just run it at the appropriate parallelism with
xjobs
or GNUparallel
...â Toby Speight
9 hours ago
By terminal I mean just runnin
python myscript.py
repeatedly. Each script takes a set of input.â user9371654
9 hours ago