Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Old 10-09-2002, 04:44 PM   #1 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
limitting bandwidth?

is there anyway to limit bandwidth?

i am experimenting with different video codecs to stream over the internet and i would love if i could have control over my download speed.

i want to run tests at 56k, 128k, 300k to see how different video streams.

any ideas?
sde is offline   Reply With Quote
Old 10-10-2002, 01:05 AM   #2 (permalink)
redhead
Newbie
 
redhead's Avatar
 
Join Date: Jun 2002
Location: Denmark
Posts: 1,710
redhead is on a distinguished road
http://wipl-wrr.sourceforge.net
That is if it's a Linux firewall you're running.. have No idear how to do it in windows..
__________________
Don't worry Ma'am, We're university students, We know what We're doing.
-----
If you pull the pin, Mr.Grenade would no longer be your friend.
-----
01000111 01101111 00100000 01000011 00100000 00100001
redhead is offline   Reply With Quote
Old 11-26-2002, 02:25 PM   #3 (permalink)
renegade
Registered User
 
renegade's Avatar
 
Join Date: Nov 2002
Posts: 16
renegade is on a distinguished road
Send a message via Yahoo to renegade
testing speed

well, Im nobody, but I would suggest that if you are a cable\adsl subscriber; to at one point unhook from dsl, and use your reg, modemn for 56k, compare that with your reg. download. As for the speed 300k, well that would probably be only on a good day anyway.. I don`t know but let me know what you come across...
renegade is offline   Reply With Quote
Old 11-26-2002, 02:43 PM   #4 (permalink)
revolution
Legend in my own mind
 
revolution's Avatar
 
Join Date: May 2002
Location: florida
Posts: 618
revolution is on a distinguished road
Send a message via AIM to revolution
i think he means streaming out....


mmilano, ive been looking for something like that myself. Let me know if you find anything
__________________
Is it me or does the word abbreviation seem a little long?


registered user #193524 with the Linux Counter,
http://counter.li.org
revolution is offline   Reply With Quote
Old 11-27-2002, 11:26 AM   #5 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
do people still have "56k modems"? hehe, i sure don't . . and if i did, i don't think i'd want to pay for the dial up service .. umm .. now to think of it, i don't even own a lan phone line. cell and dsl is all i need for communication =)

i haven't found anything yet rev, .. i haven't really looked too mucheither though. it would be a cool thing to invent.

it doesn't seem like it would be that difficult for someone who knows about network programming.
sde is offline   Reply With Quote
Old 11-27-2002, 01:56 PM   #6 (permalink)
renegade
Registered User
 
renegade's Avatar
 
Join Date: Nov 2002
Posts: 16
renegade is on a distinguished road
Send a message via Yahoo to renegade
Exclamation

well we laugh at 56k, but yet still want to test video stream. So why test it, but in Ukraine those guys are still working with slow speed. Soo lets not laugh yet... ; Until the whole world catches up,, later
renegade is offline   Reply With Quote
Old 11-27-2002, 02:40 PM   #7 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
yeah, for the video i'm testing, i pretty much can't render for 56k because of the length of the movies, .. but i can optimize it to stream for 200-300k .. my cable line gives me 2mb+ , so it's hard to see how it will stream for people using dsl with a 256k download.

i do develop web sites and i develop for lower bandwidth, but for the video i'm doing, i don't really have an option, unless they want to wait all night.
sde is offline   Reply With Quote
Old 11-29-2002, 03:22 PM   #8 (permalink)
renegade
Registered User
 
renegade's Avatar
 
Join Date: Nov 2002
Posts: 16
renegade is on a distinguished road
Send a message via Yahoo to renegade
Question

mmilano, you have cable internet? What type of machine do you have, That sounds like good speed.
renegade is offline   Reply With Quote
Old 11-30-2002, 04:31 PM   #9 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
id say no; the medium you use determines how fast your bandwidth is... you could *slow* it down at the application level by just not processing it as fast but that'd just be stupid; id suggest its not possible via a program u would need a physical limiter connected to ur nic and ur connection medium
__________________
-- bloomberg.
abc123 is offline   Reply With Quote
Old 12-01-2002, 08:24 PM   #10 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
Quote:
Originally posted by renegade
mmilano, you have cable internet? What type of machine do you have, That sounds like good speed.
yes i have cable, even though i get over 2mb down, it's only 128k up. it's a p4 1.7ghz, .. but that doesn't really have anything to do with the speed of the conection ..

i think you're right abc, .. i wish someone made a box with a dial that i could turn to cap the bandwidth .. but then again, i probably wouldn't want to pay for what they would charge for it too.
sde is offline   Reply With Quote
Old 12-02-2002, 04:49 PM   #11 (permalink)
sdeming
Code Monkey
 
Join Date: Jul 2002
Location: Michigan
Posts: 85
sdeming is on a distinguished road
Mike,

Check in your Virtuozzo VE under services / iptables. You *may* be able to do something there, but I am not sure.

What you are looking for is a traffic or packet shaper that will impose limits on bandwidth transfer. It can be done at the server or client (for simulations) but I'm not real sure exactly how in a UNIX or Windows environment, only at the router level.

But it *can* be done. If the iptables doesn't do it, I can do it in the hardware node of the VE, but then it wouldn't be under your control and hence worthless.
__________________
Scott
B4 09 BA 09 01 CD 21 CD 20 53 63 6F 74 74 24
sdeming is offline   Reply With Quote
Reply

Bookmarks

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 On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bandwidth Usage Question: sde Lounge 3 01-27-2003 08:46 AM
how do i cap bandwidth? sde Linux / BSD / OS X 3 12-23-2002 03:19 PM


All times are GMT -8. The time now is 08:00 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2008, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting