LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-25-2010, 02:09 PM   #1
orion188
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Rep: Reputation: 0
Removing all bandwidth limitations


Hi.
I have a network camera, with a linux OS.
We need it to be really precise in its timing for the specific application we want it for. But it's not!

After killing some of the garbage processes on it (and having some achievements, but not enough), it seems that there's some kind of bandwidth limiting applied on the outgoing traffic.

My question: What are all the things that should be done on a machine, running linux, to remove all the bandwidth limitations?

Notes:
1- With my very basic knowledge about traffic shaping in linux, I have made these observations:

# tc qdisc ls dev eth0
qdisc pfifo_fast 0: root bands 3 priomap 1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

# tc qdisc del dev eth0 root
RTNETLINK answers: No such file or directory

2- I am trying to download the images from an HTTP link, and I already have about 14Mbps. I want it to reach at least 50Mbps. I can download with speeds higher than this when downloading from another PC on a windows network. So I assume this is not a problem with the cables. Also the eth0 on the camera is said to be a 100Mbps device.

Thanks in advance
 
Old 04-25-2010, 06:29 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 250Reputation: 250Reputation: 250
Which camera ?

If it's using mp4 then bandwidth is not the issue. Processing time is. The increased speed on windows is a lie. they just use the main windows machine to process the data. On linux you have to process the data or let the camera do it. (i.e. the windows drivers do all the work)

I used an Axis 207w. Not cheap, and definitely not cheerful. But I got within about 10 seconds over the net using ffmpeg and ffserver. (and a wireless link from the AP to the camera- if that wasn't clear) Also the server that was pulling the feed was located about 5.5 thousand miles away. So transit time was twice the distance.

If you want real time - forget it - on any system. Quality video is just too big. My video was 320x240.

Also, mp4 was a waste of time. I had to resort to mjpeg and convert it to flash to make a viewable video. mp4 just uses too much cpu at both ends.

Last edited by smoker; 04-25-2010 at 06:42 PM.
 
Old 04-26-2010, 01:44 AM   #3
orion188
LQ Newbie
 
Registered: Apr 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Dear smoker,
Thank you for your reply.

I am also using an Axis 221. I use MJPEG and the resolution is 640x480.
Actually, I have performed some tests and observed that the camera itself, has no problems with buffering 640x480 images in, say, 20 fps. But when it wants to transmit them to the client, it kind of brings down the fps, such that the overall transmit bandwidth would remain about 14Mbps. (The bigger the size of each image is, the lower the fps becomes).

And I should say that, there's no difference between Win and Linux on the client system. Both act the same. The problem is on the server side (the camera).

So, I still need to find out how it is limiting the bandwidth.

Thanks.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing Defunct processes without restarting or removing parent process. nikolaibelkin Linux - Newbie 1 02-26-2009 09:10 AM
removing text shadows in kde; removing taskbar color gradient webazoid Linux - Software 1 04-11-2006 02:56 AM
Vsftpd - how to limit download bandwidth but unlimited upload bandwidth? mpls mikeg Linux - Software 3 08-13-2005 01:52 PM
server bandwidth limitations???? blizunt7 Linux - Networking 3 05-22-2005 01:50 PM
new user limitations Longinus Linux - Newbie 1 04-22-2004 03:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration