Jump to content

Multiple core

Noman 07

If i run some big programs in multiple linux terminal can they take advantages of multiple cpu cores?

Or all the programs run in one cpu core?

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Noman 07 said:

If i run some big programs in multiple linux terminal can they take advantages of multiple cpu cores?

Yes

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Sauron said:

Yes

Do i need to do something or just open multiple terminal and run programs and the karnel will handle everything?

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Noman 07 said:

Do i need to do something or just open multiple terminal and run programs and the karnel will handle everything?

The kernel will automatically spread the programs across the cores.

Hand, n. A singular instrument worn at the end of the human arm and commonly thrust into somebody’s pocket.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, Noman 07 said:

Do i need to do something or just open multiple terminal and run programs and the karnel will handle everything?

Different processes will always be scheduled by the kernel however it sees fit, meaning on different cores if they are available. You don't even need to run more than one terminal for that matter, you can use tmux or have the programs run in the background with &

Don't ask to ask, just ask... please 🤨

sudo chmod -R 000 /*

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, WereCatf said:

The kernel will automatically spread the programs across the cores.

Thanks man..

That was very helpfull.

Link to comment
Share on other sites

Link to post
Share on other sites

5 minutes ago, Sauron said:

Different processes will always be scheduled by the kernel however it sees fit, meaning on different cores if they are available. You don't even need to run more than one terminal for that matter, you can use tmux or have the programs run in the background with &

Thanks a lot..

I just started programing and didn't know about tmux.

I googled that and wondered..

That was very helpful .

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×