Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Richard Weinberger
Am 31.10.2015 um 16:24 schrieb Thomas Meyer: > Am Samstag, den 31.10.2015, 16:21 +0100 schrieb Richard Weinberger: >> Am 31.10.2015 um 16:16 schrieb Thomas Meyer: >>> mhh. strange. I didn't see this behaviour on my machine, but my >>> machine >>> is a rare single core system so, likely a race

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Richard Weinberger
Am 31.10.2015 um 17:22 schrieb Anton Ivanov: > Richard, can you send me your config. Sure. It is basically a defconfig. > I have had it running for a couple of days before submission both under load > and idle it was doing OK. Well, what userspace did you try? I did some more tests, if

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Richard Weinberger
Am 31.10.2015 um 16:44 schrieb Thomas Meyer: > Am Samstag, den 31.10.2015, 16:30 +0100 schrieb Richard Weinberger: >> Am 31.10.2015 um 16:24 schrieb Thomas Meyer: >>> Am Samstag, den 31.10.2015, 16:21 +0100 schrieb Richard Weinberger: Am 31.10.2015 um 16:16 schrieb Thomas Meyer: > mhh.

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Anton Ivanov
On 31/10/15 19:08, Richard Weinberger wrote: > Am 31.10.2015 um 17:22 schrieb Anton Ivanov: >> Richard, can you send me your config. > Sure. It is basically a defconfig. I am dragging an old config from some work I did a while back. I will scrap it and do a defconfig build one I get back home (I

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Richard Weinberger
On Thu, Oct 29, 2015 at 7:23 AM, Anton Ivanov wrote: > I got the first patchset to build, it works very well on a single core > host or with CPU pinning of the UML - the performance gain is > 25%. > > However, I introduced a race somewhere along the way - it

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Thomas Meyer
Am Samstag, den 31.10.2015, 16:13 +0100 schrieb Richard Weinberger: > Am 31.10.2015 um 16:10 schrieb Thomas Meyer: > > Am Samstag, den 31.10.2015, 14:54 +0100 schrieb Richard Weinberger: > > > On Thu, Oct 29, 2015 at 7:23 AM, Anton Ivanov > > > wrote: > > > > I got

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Thomas Meyer
Am Samstag, den 31.10.2015, 16:21 +0100 schrieb Richard Weinberger: > Am 31.10.2015 um 16:16 schrieb Thomas Meyer: > > mhh. strange. I didn't see this behaviour on my machine, but my > > machine > > is a rare single core system so, likely a race condition while > > relaying > > the timer interrupt

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Thomas Meyer
Am Samstag, den 31.10.2015, 16:30 +0100 schrieb Richard Weinberger: > Am 31.10.2015 um 16:24 schrieb Thomas Meyer: > > Am Samstag, den 31.10.2015, 16:21 +0100 schrieb Richard Weinberger: > > > Am 31.10.2015 um 16:16 schrieb Thomas Meyer: > > > > mhh. strange. I didn't see this behaviour on my

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Richard Weinberger
Am 31.10.2015 um 16:10 schrieb Thomas Meyer: > Am Samstag, den 31.10.2015, 14:54 +0100 schrieb Richard Weinberger: >> On Thu, Oct 29, 2015 at 7:23 AM, Anton Ivanov >> wrote: >>> I got the first patchset to build, it works very well on a single >>> core >>> host or

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Richard Weinberger
Am 31.10.2015 um 16:16 schrieb Thomas Meyer: > mhh. strange. I didn't see this behaviour on my machine, but my machine > is a rare single core system so, likely a race condition while relaying > the timer interrupt to the userspace process. Here I can trigger it by starting UML, logging in and

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Thomas Meyer
Am Samstag, den 31.10.2015, 14:54 +0100 schrieb Richard Weinberger: > On Thu, Oct 29, 2015 at 7:23 AM, Anton Ivanov > wrote: > > I got the first patchset to build, it works very well on a single > > core > > host or with CPU pinning of the UML - the performance

Re: [uml-devel] [PATCH v3] um: Switch clocksource to hrtimers

2015-10-31 Thread Anton Ivanov
Richard, can you send me your config. I have had it running for a couple of days before submission both under load and idle it was doing OK. A On 31/10/15 15:44, Thomas Meyer wrote: > Am Samstag, den 31.10.2015, 16:30 +0100 schrieb Richard Weinberger: >> Am 31.10.2015 um 16:24 schrieb Thomas