LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 06-16-2010, 10:33 AM   #1
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 296

Rep: Reputation: 32
hide cpu cores from an application


Is it possible to hide cpu cores from an application?

I am running RHEL 5.5 on a Sun 4450 with 24 cores. We use Sybase database. Licensing for Sybase is by core. I would like to restrict Sybase to using 8 of the 24 cores and allow other apps on the system to use the rest of the cores. I want to reserve 8 cores for Sybase use only and Sybase only has access to those 8 cores.

Am I dreaming?
Thank you for any help.
 
Old 06-16-2010, 10:40 AM   #2
thllgo
Member
 
Registered: Sep 2003
Location: Laurel MD
Posts: 296

Original Poster
Rep: Reputation: 32
Note: I don't think limits.conf will work as it limits cpu time. I want to limit the number of cpus Sybase sees.
 
Old 06-17-2010, 03:42 AM   #3
edenCC
Member
 
Registered: May 2006
Location: China
Distribution: Debian
Posts: 198
Blog Entries: 1

Rep: Reputation: 32
I'd say it should be possible.
It would be better to disable other cores and leave only 8 cores.

I ever did similar things on Dell r410/r710 servers, turned off some unwanted cores with the help of OMSA, but not sure whether it's supported by Sun 4450.

As Sun Fire X4450 has 4 CPUs, you probably need to make sure whether they are hyper-threaded or just physical core.
 
Old 06-17-2010, 04:08 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Check out cgroups.
 
  


Reply



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
Use mrtg to graph cpu utilization by cores KhurramF Linux - Software 0 04-01-2008 01:50 PM
Disable CPU cores in RHEL3 ElectroLinux Linux - Server 1 03-31-2008 05:34 PM
Software and CPU Cores DIGITAL39 Linux - Software 8 10-10-2007 02:47 AM
Can Linux SMP Kernel Support 3 Cores CPU? btbx Linux - Kernel 1 07-26-2007 03:04 AM
how to find number of cores in CPU narensr Linux - Hardware 5 08-24-2006 01:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:32 PM.

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