Technology Questions

Go Back   Technology Questions > Software Questions > Operating System Questions > Linux



Reply
 
LinkBack Thread Tools
  #1  
Old 11-12-2007, 10:40 AM
Xvaall
Newsgroup Contributor
 
Posts: n/a
how to assign a specific thread to specific processor?

It's possible to do on win32/64 and some *nixes. Very usefull on
todays multicore processors for optimizations. Is it possible on
linux? Without it it really sucks.. :(

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 11-12-2007, 10:40 AM
  #2  
Old 11-12-2007, 11:20 AM
Mark South
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Mon, 12 Nov 2007 11:34:55 -0800, Xvaall wrote:

> It's possible to do on win32/64 and some *nixes. Very usefull on
> todays multicore processors for optimizations. Is it possible on
> linux? Without it it really sucks.. :(


I'd assume that Linux is really poor on serial multi-processing, probably
Windows is much better. Especially because hand-optimising is known to
beat the computer every time.

Shame no-one told IBM or NASA or Cray all that though, otherwise they would
have known not to use Linux for their newest generation of supercomputers.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3  
Old 11-12-2007, 11:30 AM
Ivan Marsh
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Mon, 12 Nov 2007 21:09:00 +0100, Mark South wrote:

> On Mon, 12 Nov 2007 11:34:55 -0800, Xvaall wrote:
>
>> It's possible to do on win32/64 and some *nixes. Very usefull on
>> todays multicore processors for optimizations. Is it possible on
>> linux? Without it it really sucks.. :(

>
> I'd assume that Linux is really poor on serial multi-processing, probably
> Windows is much better. Especially because hand-optimising is known to
> beat the computer every time.
>
> Shame no-one told IBM or NASA or Cray all that though, otherwise they would
> have known not to use Linux for their newest generation of supercomputers.


I just shot coffee out my nose... thanks for the laugh.

--
I told you this was going to happen.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4  
Old 11-12-2007, 11:50 AM
Xvaall
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Nov 12, 3:09 pm, Mark South <mark.so...@null.invalid> wrote:
> On Mon, 12 Nov 2007 11:34:55 -0800, Xvaall wrote:
> > It's possible to do on win32/64 and some *nixes. Very usefull on
> > todays multicore processors for optimizations. Is it possible on
> > linux? Without it it really sucks.. :(

>
> I'd assume that Linux is really poor on serial multi-processing, probably
> Windows is much better. Especially because hand-optimising is known to
> beat the computer every time.
>
> Shame no-one told IBM or NASA or Cray all that though, otherwise they would
> have known not to use Linux for their newest generation of supercomputers.



In other words you don't know the answer..
or the answer is "you don't need this, trust me"..
correct? ;)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5  
Old 11-12-2007, 12:00 PM
J.O. Aho
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

Xvaall wrote:
> It's possible to do on win32/64 and some *nixes. Very usefull on
> todays multicore processors for optimizations. Is it possible on
> linux? Without it it really sucks.. :(
>


man schedutils

microsoft suxx as it can't manage simple things like man pages.

--

//Aho
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #6  
Old 11-12-2007, 12:31 PM
Xvaall
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Nov 12, 3:46 pm, "J.O. Aho" <u...@example.net> wrote:
> Xvaall wrote:
> > It's possible to do on win32/64 and some *nixes. Very usefull on
> > todays multicore processors for optimizations. Is it possible on
> > linux? Without it it really sucks.. :(

>
> man schedutils
>
> microsoft suxx as it can't manage simple things like man pages.


Thanks, good starting point

sched_setaffinity() is probably it...

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7  
Old 11-14-2007, 10:30 AM
Anthony
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

J.O. Aho wrote:
> Xvaall wrote:
>> It's possible to do on win32/64 and some *nixes. Very usefull on
>> todays multicore processors for optimizations. Is it possible on
>> linux? Without it it really sucks.. :(
>>

>
> man schedutils
>
> microsoft suxx as it can't manage simple things like man pages.
>

Or Linux who cannot decide a common repository!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8  
Old 11-14-2007, 11:00 AM
Ivan Marsh
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Wed, 14 Nov 2007 11:22:07 -0800, Anthony wrote:

> J.O. Aho wrote:
>> Xvaall wrote:
>>> It's possible to do on win32/64 and some *nixes. Very usefull on
>>> todays multicore processors for optimizations. Is it possible on
>>> linux? Without it it really sucks.. :(
>>>

>>
>> man schedutils
>>
>> microsoft suxx as it can't manage simple things like man pages.
>>

> Or Linux who cannot decide a common repository!


Yes... having choice is a horrible, horrible thing.

--
I told you this was going to happen.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9  
Old 11-14-2007, 11:10 AM
Xvaall
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Nov 14, 2:22 pm, Anthony <a...@verizon.net> wrote:

> >> timizations. Is it possible on
> >> linux? Without it it really sucks.. :(

>
> > man schedutils

>
> > microsoft suxx as it can't manage simple things like man pages.

>
> Or Linux who cannot decide a common repository!


I'm sick of these holly wars. It's nice to have something to chose
from. I don't want to live in MS only world, nether do I like GNU
world. Thanks to competion we have fast development on both sides, and
reasonable prices.


PS: Linux does have common repository like windows. They just don't
use it :))

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10  
Old 11-14-2007, 01:20 PM
Mark South
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Wed, 14 Nov 2007 11:22:07 -0800, Anthony wrote:

>> microsoft suxx as it can't manage simple things like man pages.
>>

> Or Linux who cannot decide a common repository!


Linux has a common repository. It's called the Internet.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #11  
Old 11-16-2007, 06:30 AM
Anthony
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

Ivan Marsh wrote:
> On Wed, 14 Nov 2007 11:22:07 -0800, Anthony wrote:
>
>> J.O. Aho wrote:
>>> Xvaall wrote:
>>>> It's possible to do on win32/64 and some *nixes. Very usefull on
>>>> todays multicore processors for optimizations. Is it possible on
>>>> linux? Without it it really sucks.. :(
>>>>
>>> man schedutils
>>>
>>> microsoft suxx as it can't manage simple things like man pages.
>>>

>> Or Linux who cannot decide a common repository!

>
> Yes... having choice is a horrible, horrible thing.
>

Yes, like the choice of some 1000 different versions of Linux.

Until some common denominator in software Linux client will be oppressed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #12  
Old 11-16-2007, 07:00 AM
Ivan Marsh
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Fri, 16 Nov 2007 07:16:11 -0800, Anthony wrote:

> Ivan Marsh wrote:
>> On Wed, 14 Nov 2007 11:22:07 -0800, Anthony wrote:
>>
>>> J.O. Aho wrote:
>>>> Xvaall wrote:
>>>>> It's possible to do on win32/64 and some *nixes. Very usefull on
>>>>> todays multicore processors for optimizations. Is it possible on
>>>>> linux? Without it it really sucks.. :(
>>>>>
>>>> man schedutils
>>>>
>>>> microsoft suxx as it can't manage simple things like man pages.
>>>>
>>> Or Linux who cannot decide a common repository!

>>
>> Yes... having choice is a horrible, horrible thing.
>>

> Yes, like the choice of some 1000 different versions of Linux.


There is only one Linux. There are +/-1000 different distributions.

You're complaining that when you go to buy a car you get to choose what
color it is.

> Until some common denominator in software Linux client will be oppressed


You not write English good.

Some common denominator? Like internationally recognized standards?, A
single kernel that can be tailored for your architecture and needs?

Q: What version of Windows do you run on <insert non-intel based processor
here>?

A: You don't.

--
I told you this was going to happen.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13  
Old 11-16-2007, 07:10 AM
Mark South
Newsgroup Contributor
 
Posts: n/a
Re: how to assign a specific thread to specific processor?

On Fri, 16 Nov 2007 07:16:11 -0800, Anthony wrote:

> Ivan Marsh wrote:
>> On Wed, 14 Nov 2007 11:22:07 -0800, Anthony wrote:
>>
>>> J.O. Aho wrote:
>>>> Xvaall wrote:
>>>>> It's possible to do on win32/64 and some *nixes. Very usefull on
>>>>> todays multicore processors for optimizations. Is it possible on
>>>>> linux? Without it it really sucks.. :(
>>>>>
>>>> man schedutils
>>>>
>>>> microsoft suxx as it can't manage simple things like man pages.
>>>>
>>> Or Linux who cannot decide a common repository!

>>
>> Yes... having choice is a horrible, horrible thing.
>>

> Yes, like the choice of some 1000 different versions of Linux.
>
> Until some common denominator in software Linux client will be oppressed


Does the rest of your life make as little sense as that last line of yours?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't log on to one specific site ... Debra Internet Explorer 12 11-19-2007 01:51 PM
Select Specific MAC Address Skier7667 Windows XP 0 08-04-2007 10:00 PM
How to Block specific JS? LadyDungeness@Fish.Net Internet Explorer 4 08-03-2007 06:00 PM
One specific CD won't autorun asturt@us.ci.org Windows XP 3 03-12-2007 10:16 AM
How To Assign Specific Folder For User Profile LBJOHN Windows XP 7 01-18-2007 05:15 PM


New To Technology Questions? Do You Need Help with Your Computer or Device? Do You Need Help with this site?

All times are GMT -8. The time now is 07:44 PM.


2003 - 2010 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0