LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 10-01-2012, 10:17 PM   #1
reksss
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Rep: Reputation: Disabled
How to run kernel functions in a separate core?


Hello Friends,
I am using Ubundu.

I want to know how to run kernel functions in a separate core?

I know about Taskset and it supports only for the application.

Do anybody know any command (or) have idea about how to do it?

Please help me

Thank you
 
Old 10-02-2012, 09:51 AM   #2
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Sure that's easy! edit your init scripts! Push everything to the second core by pushing init to the second core.
taskset would be the way to do it.
 
Old 10-02-2012, 08:28 PM   #3
reksss
LQ Newbie
 
Registered: Jun 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Hello,
Thank you for your reply.
I tried Taskset.
But it is working well only for the applications and not for the kernel functions!!!
 
Old 10-03-2012, 04:02 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,103

Rep: Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117Reputation: 4117
Quote:
Originally Posted by reksss View Post
I want to know how to run kernel functions in a separate core?
Why would you want to do that ?.

Describe the problem (if you have one), not what you think you want to do.
Problem, not symptom(s).
 
Old 10-03-2012, 10:24 AM   #5
/dev/random
Member
 
Registered: Aug 2012
Location: Ontario, Canada
Distribution: Slackware 14.2, LFS-current, NetBSD 6.1.3, OpenIndiana
Posts: 319

Rep: Reputation: 112Reputation: 112
Quote:
Originally Posted by reksss View Post
Hello,
Thank you for your reply.
I tried Taskset.
But it is working well only for the applications and not for the kernel functions!!!
That's the idea, push all the application to the second core and let the kernel have the first core to itself. Since it's currently not possible to relocate the kernel (as it has no PID and lives in ram) then the next logical thing to do is to move everything else out of the core the CPU is running on.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Command at boot time in separate screen mahi_nix Linux - Server 1 10-07-2011 10:39 PM
How force multiple processes to run on separate processors? shahhe Linux - Software 3 09-04-2010 07:40 PM
Run 2 NICs, separate networks liche24 Fedora 1 03-14-2009 11:20 PM
Is it ok to run to separate apache instances on the same server and...? helptonewbie Linux - Newbie 5 06-05-2008 07:35 AM
Getting the ssh2_* functions to run in PHP didi86 Linux - Software 1 03-03-2005 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 10:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration