[asterisk-bugs] [JIRA] (DAHLIN-290) dahdi_dynamic_eth have a huge jitter on transmit

Pavel Selivanov (JIRA) noreply at issues.asterisk.org
Fri Jan 18 04:05:20 CST 2013


    [ https://issues.asterisk.org/jira/browse/DAHLIN-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=201791#comment-201791 ] 

Pavel Selivanov edited comment on DAHLIN-290 at 1/18/13 4:04 AM:
-----------------------------------------------------------------

Sorry, knew nothing about git repository, so, knew nothing on fixes...

It's working now.

some hints:
1. why don't you use the same (one) tasklet for either receive or transmit job ?
Too much #if #else #endif ...

2. ENABLE_TASKLET is not correct anymore.
dynamic will always have a tasklet (either for receive or transmit).
It's better to choose via module parameter.
modprobe dahdi_dynamic tasklet=0/1, receive/transmit.

3. it's probably a good idea to start flush tasklet if (irqs_disabled()).
Otherwise, flush can be called directly.
                
      was (Author: biohumanoid):
    Sorry, knew nothing about git repository, so, knew nothing on fixes...

It's working now.

some hints:
1. why don't you use the same (one) tasklet for either receive or transmit job ?
Too much #if #else #endif ...

2. ENABLE_TASKLET is not correct anymore.
dynamic will always have a tasklet (either for receive or transmit).
It's better to choose via module parameter.
modprobe dahdi_dynamic tasklet=0/1, receive/transmit.

3. it's probably a good idea to start flush tasklet if (irqs_disabled()).

                  
> dahdi_dynamic_eth have a huge jitter on transmit
> ------------------------------------------------
>
>                 Key: DAHLIN-290
>                 URL: https://issues.asterisk.org/jira/browse/DAHLIN-290
>             Project: DAHDI-Linux
>          Issue Type: Bug
>      Security Level: None
>          Components: dahdi_dynamic_eth
>    Affects Versions: 2.6.1
>         Environment: tasklets enabled in dahdi_dynamic.c (#define ENABLE_TASKLETS)
>            Reporter: Pavel Selivanov
>            Assignee: Pavel Selivanov
>         Attachments: 0001-dahdi_dynamic-Use-a-tasklet-for-flushing-dynamic-dri.patch, 0002-Revert-dahdi_dynamic_eth-Move-tx-packet-flushing-to-.patch, dahdi_dynamic.c.patch, dahdi_dynamic_eth.c.patch
>
>
> At r10562 "Move tx packet flushing to process context".
> Seems, using a common "thread" can produce a huge jitter.
> Since this "common" thread can be used by any driver - it can't guarantee 1ms...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list