[MDEV-157] Threadpool - make timer thread sleep longer if there is no client activity. Created: 2012-02-16 Updated: 2015-03-05 |
|
| Status: | Stalled |
| Project: | MariaDB Server |
| Component/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Minor |
| Reporter: | Vladislav Vaintroub | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Currently, with threadpool on Unix, timer thread that checks and resolves stalls wakes up every threadpool_stall_limit milliseconds. This might be unnecessary on desktops/laptops and consume some CPU or even prevent machines from going to sleep mode, in case there is no client activity. We need to:
|
| Comments |
| Comment by Rasmus Johansson (Inactive) [ 2012-04-25 ] |
|
this had for some reason been assigned to me. maybe it's done already. |