Re: CPU Affinity

2018-04-30 Thread Elias M. Mariani
, > :I was trying to port mprime to OpenBSD. > :The main issue is not finding any way to set affinity on cores. > :Searching for how to do this on OpenBSD bring this result in undeadly: > :http://undeadly.org/cgi?action=article&sid=20090324210236 > : > :Is CPU Affinity dropped ou

Re: CPU Affinity

2018-04-29 Thread Mike Larkin
this moment I see a lot of activity around vmd/vmm, I have > been using it myself, is great, I love it, but my guess is that you > can get more performance on the guests OS if you set the affinity of > the process. vmd(8) CPU affinity should bethe absolute least of your concerns WRT vmm/v

Re: CPU Affinity

2018-04-29 Thread Peter Hessler
;sid=20090324210236 : :Is CPU Affinity dropped out of OpenBSD for some reason? : :Elias. : CPU Affinity is available inside the kernel only, and is not exposed to userland. There are no plans to make it available to userland. -- Pardon this fortune. Database under reconstruction.

Re: CPU Affinity

2018-04-29 Thread Elias M. Mariani
was trying to port mprime to OpenBSD. >> The main issue is not finding any way to set affinity on cores. >> Searching for how to do this on OpenBSD bring this result in undeadly: >> http://undeadly.org/cgi?action=article&sid=20090324210236 >> >> Is CPU Affinity dro

Re: CPU Affinity

2018-04-29 Thread lists
rticle&sid=20090324210236 > > Is CPU Affinity dropped out of OpenBSD for some reason? > > Elias. > Hi Elias, Why do you want to do the operating system duty in user level programs? Kind regards, Anton Lazarov

CPU Affinity

2018-04-29 Thread Elias M. Mariani
Hi, I was trying to port mprime to OpenBSD. The main issue is not finding any way to set affinity on cores. Searching for how to do this on OpenBSD bring this result in undeadly: http://undeadly.org/cgi?action=article&sid=20090324210236 Is CPU Affinity dropped out of OpenBSD for some re

Re: how to use cpu affinity from user space

2013-01-22 Thread Stuart Henderson
On 2013-01-22, Илья Шипицин wrote: > I'm running https web reverse proxy. > at 200-500mbit scale, I see 3500 interrupts per second at em0, em1, also 12 > cpus are running at 70-80%, > CPU00 is running at "interrupt" level, also there're user processes at > "user" and "system" levels. > > > under s

Re: how to use cpu affinity from user space

2013-01-22 Thread Rudolf Leitgeb
> under such load server is experience somewhat to "general network > delays", network conections become slow (both incoming and outgoing), > sometimes even 5 sec on 1G network. It sounds unlikely that CPU congestion is responsible for 5 s network delays unless your hardware is significantly under

Re: how to use cpu affinity from user space

2013-01-22 Thread Илья Шипицин
, sometimes even 5 sec on 1G network. so, I'm looking into optimal "em" tuning and cpu affinity things. disk io is not affected. 2013/1/22 Marc Espie > On Tue, Jan 22, 2013 at 05:37:42PM +0500, ??? wrote: > > I meant OpenBSD feature to use only CPU00 for netw

Re: how to use cpu affinity from user space

2013-01-22 Thread Marc Espie
On Tue, Jan 22, 2013 at 05:37:42PM +0500, ??? wrote: > I meant OpenBSD feature to use only CPU00 for network things. > and I am afraid it could cause network issues when some process works on > CPU00 as well. OpenBSD is not a real-time OS. As far as I know there's no intention to make it

Re: how to use cpu affinity from user space

2013-01-22 Thread Илья Шипицин
I meant OpenBSD feature to use only CPU00 for network things. and I am afraid it could cause network issues when some process works on CPU00 as well. 2013/1/22 Gregory Edigarov > On 01/22/2013 12:55 PM, Gregor Best wrote: > >> On Tue, Jan 22, 2013 at 07:56:22PM +1000, David Diggles wrote: >> >>

Re: how to use cpu affinity from user space

2013-01-22 Thread David Diggles
I've seen situations where it has been useful to dedicate a core to a backup process so the nightly backup would complete, on a busy linux machine, with a "cpuset". If this isn't a planned feature in the near future it's not bothering me. I'm very happy with what OpenBSD does for me. On Tue, Jan

Re: how to use cpu affinity from user space

2013-01-22 Thread Gregory Edigarov
On 01/22/2013 12:55 PM, Gregor Best wrote: On Tue, Jan 22, 2013 at 07:56:22PM +1000, David Diggles wrote: Then if the scheduler always knows what's best, the backup process will be completely uninhibited, on a system maxed out on all cores. [...] What backup process? And why will it be uninhib

Re: how to use cpu affinity from user space

2013-01-22 Thread Gregor Best
On Tue, Jan 22, 2013 at 07:56:22PM +1000, David Diggles wrote: > Then if the scheduler always knows what's best, the backup process will be > completely uninhibited, on a system maxed out on all cores. > [...] What backup process? And why will it be uninhibited? If the system's maxed out, all proc

Re: how to use cpu affinity from user space

2013-01-22 Thread David Diggles
> :Hello! > : > :I'm investigating how program should set cpu affinity, is there any > :examples ? (I didn't find any except the "commit that adds cpu affinity > :thing", but there's no user space documentation, no utility, no man page). > : > :cheers, > :Ilya

Re: how to use cpu affinity from user space

2013-01-22 Thread Peter Hessler
On 2013 Jan 22 (Tue) at 09:25:04 +0500 (+0500), Илья Шипицин wrote: :Hello! : :I'm investigating how program should set cpu affinity, is there any :examples ? (I didn't find any except the "commit that adds cpu affinity :thing", but there's no user space documentation

Re: how to use cpu affinity from user space

2013-01-21 Thread Илья Шипицин
I'm trying to keep CPU00 for network things, and avoid using it for user applications (there're lots of CPUs). is it possible to achive it without CPU affinity ? 2013/1/22 Brad Smith > On Tue, Jan 22, 2013 at 09:25:04AM +0500, ??? wrote: > > Hello! > >

Re: how to use cpu affinity from user space

2013-01-21 Thread Brad Smith
On Tue, Jan 22, 2013 at 09:25:04AM +0500, ??? wrote: > Hello! > > I'm investigating how program should set cpu affinity, is there any > examples ? (I didn't find any except the "commit that adds cpu affinity > thing", but there's no user space docu

how to use cpu affinity from user space

2013-01-21 Thread Илья Шипицин
Hello! I'm investigating how program should set cpu affinity, is there any examples ? (I didn't find any except the "commit that adds cpu affinity thing", but there's no user space documentation, no utility, no man page). cheers, Ilya Shipitsin