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

2015-11-02 Thread Anton Ivanov
On 02/11/15 22:13, Anton Ivanov wrote: > On 02/11/15 21:50, Richard Weinberger wrote: >> Am 02.11.2015 um 17:16 schrieb Anton Ivanov: >>> -void idle_sleep(unsigned long long nsecs) >>> +/** >>> + * os_idle_sleep() - sleep for a given time of nsecs >>> + * @nsecs: nanoseconds to sleep >>> + */ >>> +

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 21:50, Richard Weinberger wrote: > Am 02.11.2015 um 17:16 schrieb Anton Ivanov: >> -void idle_sleep(unsigned long long nsecs) >> +/** >> + * os_idle_sleep() - sleep for a given time of nsecs >> + * @nsecs: nanoseconds to sleep >> + */ >> +void os_idle_sleep(unsigned long long nsecs) >>

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

2015-11-02 Thread Richard Weinberger
Am 02.11.2015 um 17:16 schrieb Anton Ivanov: > -void idle_sleep(unsigned long long nsecs) > +/** > + * os_idle_sleep() - sleep for a given time of nsecs > + * @nsecs: nanoseconds to sleep > + */ > +void os_idle_sleep(unsigned long long nsecs) > { > struct timespec ts; > > - /* > -

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 15:25, Richard Weinberger wrote: > Am 02.11.2015 um 15:30 schrieb Anton Ivanov: >> On 02/11/15 10:01, Richard Weinberger wrote: >>> Am 02.11.2015 um 10:53 schrieb Anton Ivanov: [snip] >>> I'm pretty sure that you don't see the issue as your Jessy userspace >>> uses na

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

2015-11-02 Thread Anton Ivanov
Background: UML is using an obsolete itimer call for all timers and "polls" for kernel space timer firing in its userspace portion resulting in a long list of bugs and incorrect behaviour(s). It also uses ITIMER_VIRTUAL for its timer which results in the timer being dependent on it running and the

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

2015-11-02 Thread Richard Weinberger
Am 02.11.2015 um 15:30 schrieb Anton Ivanov: > On 02/11/15 10:01, Richard Weinberger wrote: >> Am 02.11.2015 um 10:53 schrieb Anton Ivanov: >>> [snip] >>> >> I'm pretty sure that you don't see the issue as your Jessy userspace >> uses nanosleep periodically. > There are quite a few thi

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 10:01, Richard Weinberger wrote: > Am 02.11.2015 um 10:53 schrieb Anton Ivanov: >> [snip] >> > I'm pretty sure that you don't see the issue as your Jessy userspace uses > nanosleep periodically. There are quite a few things running so this may indeed be the case.

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 10:59, Anton Ivanov wrote: > On 02/11/15 10:01, Richard Weinberger wrote: >> Am 02.11.2015 um 10:53 schrieb Anton Ivanov: >>> [snip] >>> >> I'm pretty sure that you don't see the issue as your Jessy >> userspace uses nanosleep periodically. > There are quite a few things ru

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 10:01, Richard Weinberger wrote: > Am 02.11.2015 um 10:53 schrieb Anton Ivanov: >> [snip] >> > I'm pretty sure that you don't see the issue as your Jessy userspace uses > nanosleep periodically. There are quite a few things running so this may indeed be the case.

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

2015-11-02 Thread Richard Weinberger
Am 02.11.2015 um 10:53 schrieb Anton Ivanov: > [snip] > I'm pretty sure that you don't see the issue as your Jessy userspace uses nanosleep periodically. >>> There are quite a few things running so this may indeed be the case. >>> >>> What do you use for userspace (so I can try to repro

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

2015-11-02 Thread Anton Ivanov
[snip] >>> I'm pretty sure that you don't see the issue as your Jessy userspace uses >>> nanosleep periodically. >> There are quite a few things running so this may indeed be the case. >> >> What do you use for userspace (so I can try to reproduce this and debug it)? > Debian Squeeze amd64 with a

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

2015-11-02 Thread Richard Weinberger
Am 02.11.2015 um 09:57 schrieb Anton Ivanov: > On 02/11/15 08:52, Richard Weinberger wrote: >> Am 02.11.2015 um 09:41 schrieb Anton Ivanov: >>> On 02/11/15 08:37, Richard Weinberger wrote: Hi! Am 02.11.2015 um 09:14 schrieb Anton Ivanov: > I was testing under similar conditions (

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 08:52, Richard Weinberger wrote: > Am 02.11.2015 um 09:41 schrieb Anton Ivanov: >> On 02/11/15 08:37, Richard Weinberger wrote: >>> Hi! >>> >>> Am 02.11.2015 um 09:14 schrieb Anton Ivanov: I was testing under similar conditions (CPU pinning using taskset -c 0 on a multicore).

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

2015-11-02 Thread Richard Weinberger
Am 02.11.2015 um 09:41 schrieb Anton Ivanov: > On 02/11/15 08:37, Richard Weinberger wrote: >> Hi! >> >> Am 02.11.2015 um 09:14 schrieb Anton Ivanov: >>> I was testing under similar conditions (CPU pinning using taskset -c 0 on a >>> multicore). >>> >>> I have removed it and run some retests - I c

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

2015-11-02 Thread Anton Ivanov
On 02/11/15 08:37, Richard Weinberger wrote: > Hi! > > Am 02.11.2015 um 09:14 schrieb Anton Ivanov: >> I was testing under similar conditions (CPU pinning using taskset -c 0 on a >> multicore). >> >> I have removed it and run some retests - I cannot reproduce the hang at this >> point with my con

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

2015-11-02 Thread Richard Weinberger
Hi! Am 02.11.2015 um 09:14 schrieb Anton Ivanov: > I was testing under similar conditions (CPU pinning using taskset -c 0 on a > multicore). > > I have removed it and run some retests - I cannot reproduce the hang at this > point with my config > > I am going to run a defconfig and compare the

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

2015-11-02 Thread Anton Ivanov
I was testing under similar conditions (CPU pinning using taskset -c 0 on a multicore). I have removed it and run some retests - I cannot reproduce the hang at this point with my config I am going to run a defconfig and compare the results to see if this will give me any insights on the root c