Is opening new tab in the terminal window is equivalent to opening a new tab in terms of resources? I need to run 16 scripts in parallel. I do not know whether opening tabs or new terminals is the best practice? I want to get the maximum performance but without exhausting the resources to an extent that degrades the performance.


I think, it is close the same. I cannot judge if opening more windows with terminal take more resources than one window with more tabs, but the window object take CPU time only while changing. You can test the performance with command cp /dev/zero /dev/null what takes 100% of one core (this is a simple load test). Run more such commands in more terminals and look at top or KSysGuard to see the result. I hope you have at least 16 cores for that.

  • I have Intel® Core™ i5-6500 CPU @ 3.20GHz × 4. does this seems sufficient? – user9371654 Oct 9 '18 at 16:20
  • I am not familiar with Intel nicks, but suoppose that i5 has 4 cores, and you have four CPU: together 16cores could be sufficient. I do not know how complex is your script, but if one script take full load of one core it is good idea to support each instance with one core. In the same way you need to look for other component: if the script intensively read from the disk, 16 scripts could cause crush while reading the same disk. But sometimes it is more important the task was carried out than how quickly it was finished. – schweik Oct 9 '18 at 16:44
  • Each script read an address from a text file in a loop. Then connects to the address using TLS connection. I think it is considered a lightweight task. – user9371654 Oct 9 '18 at 17:32

No. E.g. in Gome terminal (and others, like firefox or emacs) a new tab is added to the current window (and you can switch among them); a new window is separate. Often you can tear out a tab into it's separate window (but not the other way around, curiously).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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