01-31-2004
If I knew what you were talking about, I bet I'd say those are two darned good question.
The underlying subsystem is pretty much BSD (freeBSD i think) so you might be able to find the answers there.
Sorry for the lame response.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I am a newbie and want to learn unix .
Does unix and linux are one and same.
I have red hat linux cd but i want to take advice from some one wheather unix and linux are same.
If not ,where i'll get a Unix os setup and how i'll install it.
If linux would do then how should... (3 Replies)
Discussion started by: hunter87
3 Replies
2. Shell Programming and Scripting
Hi,
I am beginner writing shell script i am using korn shell. I wrote shell script through which i am passing system date as parameter to build.xml file but i need to write a function when i pass systemdate as parameter the function has to return its respective quarterly date . Can any one... (0 Replies)
Discussion started by: connectpramod
0 Replies
3. Shell Programming and Scripting
aaabbbcccd (1 Reply)
Discussion started by: hateshellscript
1 Replies
4. Solaris
I am having trouble locating a boot server on my subnet. I am trying to avoid installing a boot server if one exisits. Is there a way for me to broadcast a Rarp request to see if any boot servers are on my subnet and if so identify them? I think this will only work if the Rarp protocol supports... (3 Replies)
Discussion started by: mhm4
3 Replies
5. UNIX for Dummies Questions & Answers
hi everyone i'm a noob trying to learn unix language.. but seems like i got no leads on how to start..
i'm playing with the 'ps' command.. i'm trying to show the pid, ppid, username, command, cpu utilization (in desc order), process start time and process status.. all in a command.. am i able... (3 Replies)
Discussion started by: hilofat
3 Replies
6. UNIX for Dummies Questions & Answers
i've been given an assignment to Write a system utility called recycle that satisfies the following requirements as they might be displayed in a UNIX/Linux man page:
NAME
recycle - stores files in a recycle bin
SYNOPSIS
recycle ...
DESCRIPTION
Recycle is a replacement for the... (3 Replies)
Discussion started by: jerryboy78
3 Replies
7. Shell Programming and Scripting
please reply for this
https://www.unix.com/shell-programming-scripting/111493-cutting-lines.html
its really urgent (1 Reply)
Discussion started by: jojo123
1 Replies
8. Shell Programming and Scripting
Hi,
I am using "nc" command to test connectivity to Application ports.
I am getting following outputs in case of success & failed scenarios & I am re-directing it to a file.
FLPROVP02 4848 (?) open
FLPROVP02 4849 (?) : Connection refused
My script is as below.
#!/bin/bash
cd... (2 Replies)
Discussion started by: SunilB2011
2 Replies
9. Shell Programming and Scripting
Hi,
I need to calculate average of a column based on row values of another file.
File 1:
ID start end
1 2 5
1 8 10
2 3 5
2 7 11
...
File 2:
ID position y
1 1 0
1 2 2
1 ... (4 Replies)
Discussion started by: jackken007
4 Replies
10. Shell Programming and Scripting
I am wondering if there is a script (if one exists, not confident in my own scripting ability) that is able to bring up specified information from the /var/log/messages. I need to show logged traffic on specific dates and times and protocols (ie. Show all insecure FTP traffic (most likely via... (13 Replies)
Discussion started by: vgplayer54
13 Replies
LEARN ABOUT CENTOS
tc-drr
TC(8) Linux TC(8)
NAME
drr - deficit round robin scheduler
SYNOPSIS
tc qdisc ... add drr [ quantum bytes ]
DESCRIPTION
The Deficit Round Robin Scheduler is a classful queuing discipline as a more flexible replacement for Stochastic Fairness Queuing.
Unlike SFQ, there are no built-in queues -- you need to add classes and then set up filters to classify packets accordingly. This can be
useful e.g. for using RED qdiscs with different settings for particular traffic. There is no default class -- if a packet cannot be classi-
fied, it is dropped.
ALGORITHM
Each class is assigned a deficit counter, initialized to quantum.
DRR maintains an (internal) ''active'' list of classes whose qdiscs are non-empty. This list is used for dequeuing. A packet is dequeued
from the class at the head of the list if the packet size is smaller or equal to the deficit counter. If the counter is too small, it is
increased by quantum and the scheduler moves on to the next class in the active list.
PARAMETERS
quantum
Amount of bytes a flow is allowed to dequeue before the scheduler moves to the next class. Defaults to the MTU of the interface.
The minimum value is 1.
EXAMPLE & USAGE
To attach to device eth0, using the interface MTU as its quantum:
# tc qdisc add dev eth0 handle 1 root drr
Adding two classes:
# tc class add dev eth0 parent 1: classid 1:1 drr
# tc class add dev eth0 parent 1: classid 1:2 drr
You also need to add at least one filter to classify packets.
# tc filter add dev eth0 protocol .. classid 1:1
Like SFQ, DRR is only useful when it owns the queue -- it is a pure scheduler and does not delay packets. Attaching non-work-conserving
qdiscs like tbf to it does not make sense -- other qdiscs in the active list will also become inactive until the dequeue operation suc-
ceeds. Embed DRR within another qdisc like HTB or HFSC to ensure it owns the queue.
You can mimic SFQ behavior by assigning packets to the attached classes using the flow filter:
tc qdisc add dev .. drr
for i in .. 1024;do
tc class add dev .. classid $handle:$(print %x $i)
tc qdisc add dev .. fifo limit 16
done
tc filter add .. protocol ip .. $handle flow hash keys src,dst,proto,proto-src,proto-dst divisor 1024 perturb 10
SOURCE
o M. Shreedhar and George Varghese "Efficient Fair Queuing using Deficit Round Robin", Proc. SIGCOMM 95.
NOTES
This implementation does not drop packets from the longest queue on overrun, as limits are handled by the individual child qdiscs.
SEE ALSO
tc(8), tc-htb(8), tc-sfq(8)
AUTHOR
sched_drr was written by Patrick McHardy.
iproute2 January 2010 TC(8)