Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.