ALTQ statistics?

From: Charlie Schluting (charlie_at_schluting.com)
Date: 02/20/05

  • Next message: Julian Elischer: "ABI suggestions?"
    Date: Sun, 20 Feb 2005 12:04:50 -0800
    To: freebsd-net@freebsd.org
    
    

    Does anyone know of any statistics tools that do a good job summarizing
    ALTQ queuing?
    Perhaps with an rrd graph of some sort?

    I just started using shaping, and its great.. but some time-based view of
    the following data (or more) would be really interesting to see.

    -Charlie

    dmz# pfctl -s queue -v
    queue ssh priority 15 priq( red ecn )
       [ pkts: 584 bytes: 66289 dropped pkts: 0 bytes:
    0 ] [ qlength: 0/ 50 ]
    queue q_pri priority 7
       [ pkts: 21727 bytes: 1443130 dropped pkts: 0 bytes:
    0 ] [ qlength: 1/ 50 ]
    queue dns priority 6
       [ pkts: 72 bytes: 5938 dropped pkts: 0 bytes:
    0 ] [ qlength: 0/ 50 ]
    queue www priority 5
       [ pkts: 211 bytes: 37274 dropped pkts: 0 bytes:
    0 ] [ qlength: 0/ 50 ]
    queue q_def priq( default )
       [ pkts: 24626 bytes: 22419400 dropped pkts: 426 bytes:
    299503 ] [ qlength: 31/ 50 ]
    _______________________________________________
    freebsd-net@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-net
    To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"


  • Next message: Julian Elischer: "ABI suggestions?"

    Relevant Pages

    • Re: Lahman, how ya doing?
      ... >> A priority queue is an interesting idea. ... So Timer just enqueues the event on the right queue. ... >effectively starts at the same time on the current tick. ... >was triggered just gets time-sliced based on priority. ...
      (comp.object)
    • Re: Lahman, how ya doing?
      ... Suppose you had 64 Thermometers and at run time you wanted to give priority to some of them dynamically (e.g., where the temperature gradient was greatest) because processing all 64 samples at once can't be done in a single "tick". ... So Timer just enqueues the event on the right queue. ... So I addressed both the bitmap processing basics via indexed OR mask and the deferredBitmap variable assumption about bit count. ...
      (comp.object)
    • Re: cooperative multitasking scheme
      ... >> equal priority or where priorities aren't specifically used. ... where I choose not to use preemption at ... the action of the timing event is to move the process from the sleep queue ... I very much appreciate having a sleep queue. ...
      (comp.arch.embedded)
    • Re: Best way to design multithreading application
      ... The data acquisition is more important than UI updates, ... adding it to a Queue 1 as it acquires more. ... B, which is medium-to-high priority, loops over and over, and when it ... But when the threads involved are dependent on each other, as they are here, it makes little sense to make one thread higher priority than another, and for the reason you note: you really do need each of these threads to, at least on average, process the data at the same rate, otherwise you will eventually consume all your resources (memory in this case, though having the UI lag behind the actual processing is probably not desirable either). ...
      (microsoft.public.dotnet.framework)
    • Re: output.c error in multithreaded program
      ... >please see further below about a couple of semaphore questions). ... just modify your queue insertion routine to put the request in the ... scheduling priorities give you control over priority of how things are done). ... Why have an array of handles and an array of counts when the natural ...
      (microsoft.public.vc.mfc)