Displaying 4 results from an estimated 4 matches for "sched_run".
2016 Oct 11
5
Asterisk 13.11.2, 13.11.1, 13.10.0 and certified-13.8-cert3 : freeze on 'sip reload'
...start started at [ 1077] threadpool.c
worker_thread_start()
0x7f98340fd700 2109 desc->accept_fn started at [ 1088] tcptls.c
ast_tcptls_server_start()
0x7f9834179700 2108 default_tps_processing_function started at [ 200]
taskprocessor.c default_listener_start()
0x7f989c0ce700 2107 sched_run started at [ 217] sched.c
ast_sched_start_thread()
0x7f989c14a700 2105 default_tps_processing_function started at [ 200]
taskprocessor.c default_listener_start()
0x7f989c1c6700 2104 do_refresh started at [ 1902]
res_calendar.c load_module()
0x7f989d50b700 2103 sched_run...
2013 Nov 27
2
Asterisk uses 105% CPU
Hello,
Using asterisk 1.8.24 on CentOS 6.4
I notice that the asterisk process is using between 105 en 110 % CPU :
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1765 root 20 0 2508m 102m 8864 S 105.8 2.7 102:11.55 asterisk
2682 mysql 20 0 627m 29m 6204 S 0.7 0.8 1:59.51 mysqld
1 root 20 0 19228 1508 1220 S 0.0 0.0 0:00.75 init
2007 Jan 17
11
[PATCH] Add RCU support into Xen - Repost
...cpu = smp_processor_id();
ASSERT(!in_irq());
ASSERT(this_cpu(mc_state).flags == 0);
+
+ if (rcu_pending(cpu))
+ /* since __enter_scheduler is called from softirq context
+ * we know we are in a quiescent state */
+ rcu_check_callbacks(cpu,1);
perfc_incrc(sched_run);
@@ -649,6 +656,12 @@ static void t_timer_fn(void *unused)
static void t_timer_fn(void *unused)
{
struct vcpu *v = current;
+ int cpu = smp_processor_id();
+
+ if (rcu_pending(cpu))
+ /* since t_timer_fn is called from softirq context
+ * we know we are in a quiesc...
2007 Jan 17
11
[PATCH] Add RCU support into Xen - Repost
...cpu = smp_processor_id();
ASSERT(!in_irq());
ASSERT(this_cpu(mc_state).flags == 0);
+
+ if (rcu_pending(cpu))
+ /* since __enter_scheduler is called from softirq context
+ * we know we are in a quiescent state */
+ rcu_check_callbacks(cpu,1);
perfc_incrc(sched_run);
@@ -649,6 +656,12 @@ static void t_timer_fn(void *unused)
static void t_timer_fn(void *unused)
{
struct vcpu *v = current;
+ int cpu = smp_processor_id();
+
+ if (rcu_pending(cpu))
+ /* since t_timer_fn is called from softirq context
+ * we know we are in a quiesc...