Hi, Is is multilanguage or just german or french ? I asked a clerk in a mall here and he said that the doc was in english and the OS french only :( So if I buy it here (switzerland), will it be only french or can I have a choice: french, german or english? Thanks!
Hi folks, I'm trying to use sched_setaffinity to force threads onto certain CPU's. However the header file indicates it takes a pid_t. Now, this would be fine with LinuxThreads, but 2.6 uses NPTL and thus the pid is the same for all threads in the process. The page says I can specify '0' to mean the current process, but I'm not sure if it's doing the right thing under the covers. I figured I would post here before posting to the LKML. Any ideas how to force NPTL threads to certain CPU's through the API? Philip Mucci
On Wed, Jun 09, 2004 at 05:41:31PM +0200, Philip J. Mucci wrote:
Hi folks,
I'm trying to use sched_setaffinity to force threads onto certain CPU's. However the header file indicates it takes a pid_t. Now, this would be fine with LinuxThreads, but 2.6 uses NPTL and thus the pid is the same for all threads in the process. The page says I can specify '0' to mean the current process, but I'm not sure if it's doing the right thing under the covers. I figured I would post here before posting to the LKML.
Any ideas how to force NPTL threads to certain CPU's through the API?
The threads have actually different pids, just ps only shows a single pid. Just execute getpid() in the thread and use what it returns. -Andi
Hi Andi, Sorry, but on my SUSE installation, getpid() returns the same pid which means the thread library has set CLONE_PID to the clone() system call. Linux torc13 2.6.4-54.5-default #1 Fri May 7 16:47:49 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux pid 6546, thread 407ff970, recvbuf at 0x2a959a3010 104857600 pid 6546, thread 40fff970, sendbuf at 0x2a9bda5010 104857600 On these systems, the threads have different tids, accessed via the gettid sys call (which has no prototype) or pthread_self. But I'm still not sure how to use them with sched_setaf.. Phil
On Wed, 09 Jun 2004 18:01:21 +0200
"Philip J. Mucci"
Sorry, but on my SUSE installation, getpid() returns the same pid which means the thread library has set CLONE_PID to the clone() system call.
Linux torc13 2.6.4-54.5-default #1 Fri May 7 16:47:49 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux
pid 6546, thread 407ff970, recvbuf at 0x2a959a3010 104857600 pid 6546, thread 40fff970, sendbuf at 0x2a9bda5010 104857600
On these systems, the threads have different tids, accessed via the gettid sys call (which has no prototype) or pthread_self.
But I'm still not sure how to use them with sched_setaf..
Passing the value of gettid() to sched_setaffinity() should work. -Andi
On Wed, Jun 09, 2004 at 05:30:57PM +0200, Francois E Jaccard wrote:
Hi,
Is is multilanguage or just german or french ? I asked a clerk in a mall here and he said that the doc was in english and the OS french only :( So if I buy it here (switzerland), will it be only french or can I have a choice: french, german or english?
The OS is multi language. The installation starts with a window asking you for the language. Just select what you prefer there. The printed documentation is only in a single language though. -Andi
Andi Kleen
On Wed, Jun 09, 2004 at 05:30:57PM +0200, Francois E Jaccard wrote:
Hi,
Is is multilanguage or just german or french ? I asked a clerk in a mall here and he said that the doc was in english and the OS french only :( So if I buy it here (switzerland), will it be only french or can I have a choice: french, german or english?
The OS is multi language. The installation starts with a window asking you for the language. Just select what you prefer there.
Including German, English, French, Spanish, Italian, Portuguese, Swedish, Czech...
The printed documentation is only in a single language though.
But manuals are in additional languages as PDFs and html on the DVD, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
Andreas Jaeger wrote:
The OS is multi language. The installation starts with a window asking you for the language. Just select what you prefer there.
Including German, English, French, Spanish, Italian, Portuguese, Swedish, Czech...
Just interesting- does it support Russian, or since Suse dropped it in 8.x it will never appears again? ;-)
Dmitry Melekhov
Andreas Jaeger wrote:
The OS is multi language. The installation starts with a window asking you for the language. Just select what you prefer there.
Including German, English, French, Spanish, Italian, Portuguese, Swedish, Czech...
Just interesting- does it support Russian, or since Suse dropped it in 8.x it will never appears again? ;-)
9.1 contains both Russian YaST translations and a Russian OpenOffice.org but I'm not sure about the quality of it and doubt that the YaST translations are complete. So, yes, it support Russian, Andreas -- Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj SUSE Linux AG, Maxfeldstr. 5, 90409 Nürnberg, Germany GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126
participants (5)
-
Andi Kleen
-
Andreas Jaeger
-
Dmitry Melekhov
-
Francois E Jaccard
-
Philip J. Mucci