Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-07-01 Thread WarGrey Gyoudmon Ju
Now the problem is solved. I rebuilt Racket without defining HAVE_POLL_SYSCALL. So it is running with select(), and pollsys() is still on the top of stack. The LD_PRELOAD way fails as before. Thanks. On Wed, Jul 1, 2015 at 6:37 AM, Bob Friesenhahn < bfrie...@simple.dallas.tx.us> wrote: > On Tue

Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-30 Thread Bob Friesenhahn
On Tue, 30 Jun 2015, WarGrey Gyoudmon Ju wrote: Thank you, Bob. Finally I found the root cause is that pollsys is called too frequently. and this problem seems quite normal in Solaris family. I am pretty sure that this has nothing to do with power management (as other have suggested). The

Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-30 Thread WarGrey Gyoudmon Ju
Sorry, it does not work. On Wed, Jul 1, 2015 at 2:50 AM, WarGrey Gyoudmon Ju wrote: > Jozsef, it does work, thank you all the same. > > Dell XPS > > On Tue, Jun 30, 2015 at 5:08 PM, Jozsef Brogyanyi > wrote: > >> Hi >> >> Just edit the next configuration file:/etc/power.conf >> Insert or change

Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-30 Thread WarGrey Gyoudmon Ju
Jozsef, it does work, thank you all the same. Dell XPS On Tue, Jun 30, 2015 at 5:08 PM, Jozsef Brogyanyi wrote: > Hi > > Just edit the next configuration file:/etc/power.conf > Insert or change the cpupm enable line to > > cpupm enable poll-mode > > May be need to restart the system then check

Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-30 Thread Jozsef Brogyanyi
Hi Just edit the next configuration file:/etc/power.conf Insert or change the cpupm enable line to cpupm enable poll-mode May be need to restart the system then check it with these commands: kstat -p cpu_info:::supported_frequencies_Hz kstat -p cpu_info:::current_clock_Hz It works for me AMD/In

Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-30 Thread WarGrey Gyoudmon Ju
Thank you, Bob. Finally I found the root cause is that pollsys is called too frequently. and this problem seems quite normal in Solaris family. I don't think I can solve it on my own, Racket does not provide some option like -PerfDataSamplingInterval like Java does provide for Solaris. So is the

Re: [OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-24 Thread Bob Friesenhahn
On Wed, 24 Jun 2015, WarGrey Gyoudmon Ju wrote: Hello. I am developing a web server in Racket, and it works well in MacOSX and Linux. The most weird problem is that, in OpenIndiana it does not want to sleep when idling, it just load the entire CPU core. Could you please help me to solve this p

[OpenIndiana-discuss] how to trace what stops the daemon from sleeping?

2015-06-24 Thread WarGrey Gyoudmon Ju
Hello. I am developing a web server in Racket, and it works well in MacOSX and Linux. The most weird problem is that, in OpenIndiana it does not want to sleep when idling, it just load the entire CPU core. Could you please help me to solve this problem? Thanks in advance.