How many parallel scripts can I run without performance degradation?

The name of the pictureThe name of the pictureThe name of the pictureClash 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.










share|improve this question

















  • 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










  • By terminal I mean just runnin python myscript.py repeatedly. Each script takes a set of input.
    – user9371654
    9 hours ago














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.










share|improve this question

















  • 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










  • By terminal I mean just runnin python myscript.py repeatedly. Each script takes a set of input.
    – user9371654
    9 hours ago












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.










share|improve this question













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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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 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












  • 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










  • By terminal I mean just runnin python 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










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!






share|improve this answer




















  • 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










Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















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






























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!






share|improve this answer




















  • 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














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!






share|improve this answer




















  • 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












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!






share|improve this answer












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!







share|improve this answer












share|improve this answer



share|improve this answer










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 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















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

















 

draft saved


draft discarded















































 


draft saved


draft discarded














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













































































Popular posts from this blog

How to check contact read email or not when send email to Individual?

Displaying single band from multi-band raster using QGIS

How many registers does an x86_64 CPU actually have?