Re: [systemd-devel] make systemd service takes cpu exclusively

2014-12-01 Thread Lennart Poettering
On Wed, 19.11.14 20:05, Andrei Borzenkov (arvidj...@gmail.com) wrote: В Tue, 18 Nov 2014 06:25:43 + Cao, XinX xinx@intel.com пишет: Hi, Umut David, My project needs the Graphical desktop to display on monitor as fast as possible, but I found lots of unrelated

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-27 Thread Cao, XinX
] make systemd service takes cpu exclusively В Tue, 18 Nov 2014 06:25:43 + Cao, XinX xinx@intel.com пишет: Hi, Umut David, My project needs the Graphical desktop to display on monitor as fast as possible, but I found lots of unrelated services( such as sound, network

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-27 Thread Mantas Mikulėnas
On Thu, Nov 27, 2014 at 12:56 PM, Cao, XinX xinx@intel.com wrote: Hi, Yes, you are right. My service is defined as simple. And I changed it to notify, seems that I can make the other services now successfully start after it finished startup. But I'm confused who will call

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-27 Thread Andrei Borzenkov
this. Could you try to rephrase? Thanks~~ From: Mantas Mikulėnas [mailto:graw...@gmail.com] Sent: Thursday, November 27, 2014 20:15 To: Cao, XinX Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] make systemd service takes cpu exclusively On Thu, Nov 27

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-27 Thread Tomasz Torcz
On Thu, Nov 27, 2014 at 12:44:50PM +, Cao, XinX wrote: But it’s very strange, for I can’t find “sd_notify” or “sd_notifyf” in my program, but seems that notify type can still work. So are there any other functions able to do this ? Thanks~~ Are you sure

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 06:25:43 + Cao, XinX xinx@intel.com пишет: Hi, Umut David, My project needs the Graphical desktop to display on monitor as fast as possible, but I found lots of unrelated services( such as sound, network, ... ) are competing CPU even they are

[systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Cao, XinX
Hi, everybody, As we all know that currently systemd puts all the services into a run_queue, and lets them run together as possible as it can. However, this mechanism also brings in a problem, which means all the services will contend for CPU, and systemd is unable to make sure one

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread David Herrmann
Hi On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX xinx@intel.com wrote: Hi, everybody, As we all know that currently systemd puts all the services into a run_queue, and lets them run together as possible as it can. However, this mechanism also brings in a problem, which means

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Umut Tezduyar Lindskog
Hi XinX On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX xinx@intel.com wrote: Hi, everybody, As we all know that currently systemd puts all the services into a run_queue, and lets them run together as possible as it can. However, this mechanism also brings in a problem, which

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Cao, XinX
: Umut Tezduyar Lindskog [mailto:u...@tezduyar.com] Sent: Monday, November 17, 2014 17:51 To: Cao, XinX Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] make systemd service takes cpu exclusively Hi XinX On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX xinx@intel.com wrote: Hi