Networking Forums

Networking Forums > Computer Networking > Linux Networking > testing techniques to confirm the effectiveness of changes made to sch_gred.c

Reply
Thread Tools Display Modes

testing techniques to confirm the effectiveness of changes made to sch_gred.c

 
 
rahulhsaxena
Guest
Posts: n/a

 
      06-11-2005, 12:47 AM
Hi,
I have made some changes to the file sch_gred.c to modify the GRED
queueing discipline to support the following features:
1) The first virtual queue should get absolute priority while
dequeueing (not caring if the others get starved)
2) While in equalise mode and with RIO mode enabled, the packets in
the first virtual queue should not be counted for calculating the
qave.

I want to confirm if the changes made by me are really effective. I
would be grateful if someone could let me know about any testing
techniques that can be followed for confirming that the changes are
really effective.

It would be great if someone could also let me know if the logic that
I have applied to effect these changes is correct.

My logic is as follows:
1) Since the process deals with dequeueing, i have to make changes to
gred_dequeue only. If t->tab[0] != 0 then we dequeue the packet
otherwise do not dequeue it.

2)
if (t->eqp && t->grio) {

for (i=0;i<t->DPs;i++) {
if ((!t->tab[i]) || (i==q->DP) || (i==0))
continue;

if ((t->tab[i] != q) &&
(PSCHED_IS_PASTPERFECT(t->tab[i]->qidlestart)))
qave +=t->tab[i]->qave;
}



Regards,
Rahul

--------------------------------
Rahul Hari,
Senior Undergraduate Student,
Department of CSE,
ITBHU,
VARANASI

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can anyone in the Edinburgh area who has made the switch to Virgin Media's 2MB cable service confirm if it is worth it? nospam Broadband 1 11-09-2008 08:39 PM
[Virtualization] Linux based techniques? IP communication? qazmlp1209@rediffmail.com Linux Networking 0 01-24-2007 02:18 PM
Effectiveness of indoor antenna? Chrishow Wireless Internet 9 07-07-2005 03:57 PM
Testing techniques/tools for setting up many tcp connections simultaneously Tom Linux Networking 2 09-20-2004 04:30 AM
Product effectiveness abroad Kevin Broadband Hardware 2 09-20-2004 01:13 AM



1 2 3 4 5 6 7 8 9 10 11