qos

How to setup Quality of Service?

I'm talking about http://en.wikipedia.org/wiki/Quality_of_service. With streaming stackoverflow podcasts and downloading the lastest updates to ubuntu, I would like to have QoS working so I can use stackoverflow without my http connections timing out or taking forever. I'm using an iConnect 624 ADSL modem which has QoS built-in but I ca...

How to do TOS/DSCP in ruby?

How does one set the TOS flags/DSCP flags in Ruby on a UDP/TCP stream (preferably using the Ruby/Sockets library)? ...

How do we calculate the uptime of 24/7 website?

When companies come forward and claim 99.98%, how do they come to that number? Is that the only QoS parameter or are there any other useful and important parameters? ...

Are sockets reliable ?

Is it a good idea to use sockets to send data between two servers, or should I use something like MQ for moving data. My questions: are sockets reliable, if I need once only/assured delivery of the data? Are there any other solutions? Thanks. ...

How do I present ToS when I expected DSCP?

If my application is using DSCP values, and on the way some packets may be re-tagged by network equipment or other things. The problem is that the network equipment may just talk old-style ToS, meaning it thinks it can change just the Prio bits or the ToS-bits and all will be well. But all is not well! What do I do with this ToS-byte va...

Ruby - How to do DSCP marking in packets?

I have a need to mark packets with DSCP markers for testing a product, but I'm not seeing a way to do this directly. Am I just missing something, or do I really need to start learning network programming in C to get this done? Or, which may be easier, is there a program out there (for Linux) that will send data with DSCP markers better...

How would you associate QoS with WCF?

In SOA(Service Oriented Architecture), service composition usually consider the QoS or the Quality of Service during the composition stage. If I am going to create a WCF-based SOA, how would I get the QoS in WCF context? ...

Windows RSVP QoS service is stopped when no QoS-socket active. Can that be changed?

We have a program that uses QoS-sockets, our softphone application uses QoS for the RTP. That application is normally left running, sometimes however it is restarted. (Stop, wait 300ms, start.) We have found that when the softphone-application is stopped that the last one useing QoS on the server, so the RSVP QoS-service on windows is ...

Inconsistent packet delivery by NIC, NIC performance measurement

One of our customers experiences problem with our streaming application (win32). It seems like UDP (RTP) packets that should be sent by the application with some constant interval (say 20 ms) are actually sent with a greatly variable deltas (say 15ms - 25ms - 10ms - 30 ms). This is the only customer that experiences the problem so netwo...

Setting DIFFSERV/DSCP with GQOS for specific socket in c

I need to set the DSCP field of packets sent from a specific (tcp) socket in windows XP. It seems that the GQOS API should serve this purpose (see http://blogs.msdn.com/wndp/archive/2006/07/05/657196.aspx) but I really, really, can't find any working example or figure how to use it on my own. I would be very grateful if anyone of you h...

Setting DSCP using IP_TOS stopped working on Windows XP

Hi, I had this working a few weeks ago. I use the old setsocopt with IP_TOS and the DisableUserTOSSetting=0 to set the DSCP in outbound RTP traffic. Now it does not work anymore on my Windows XP machine. Using QoS packet scheduler and gpedit.msc does work but is not my preferred solution. I have checked the registry flag many times no...

Sample Voice/Data QoS Configuration on Cisco 891W

I'd like to configure QoS to prioritize voice traffic when my internet uplink port is saturated with both incoming and outgoing bandwidth. Does anyone have a configuration example to share that could serve as a guideline? Thanks. ...

How can I determine the quality of service in WCF?

I want to determine the following QoS Attribute of my service: Response Time Reliability Availability I will be creating an application that will select a service based on the mentioned attribute. ...

How to find the Instantaneous size of the transmission buffer in Linux kernel?

I want to measure the instantaneous size of the transmission buffer or the number of packets waiting to be sent on an Ethernet interface. The problem is that the kernel takes the packet from the transmission queue and puts it in a Transmission Ring Buffer (Tx-Ring) before sending it out on the wire. Therefore: Total instantaneous size...

How to calculate Packet loss, Jitter and QoS parameters of video over an IP connection?

I came across a mobile application which performs voice and video quality test to give a measure of the quality of voice/video experience over an IP connection. The test calculates the values of Jitter, Packet loss etc. for the remote stream. I am curious to know how this is being done? What would it take to write such an Mobile applica...

Generic QoS Message batching and compression in Java

We have a custom messaging system written in Java, and I want to implement a basic batching/compression feature that basically under heavy load it will aggregate a bunch of push responses into a single push response. Essentially: if we detect 3 messages were sent in the past second then start batching responses and schedule a timer t...

Why is my Linux prio based tc not improving network latency?

Hi - I am building a real-time embedded linux application that has a variety of network traffic. Of the set of traffic, two connections are time critical. One is the input data and the other for output data. My application needs this traffic to have priority over the other, non-time-critical traffic. I care about two things: Min...

Linux low latency tcp stream.

I have an embedded application that has this requirement: One outgoing TCP network stream need absolute highest priority over all other outgoing network traffic. If there are any packets waiting to be transferred on that stream, they should be the next packets sent. Period. My measure of success is as follows: Measure the high prior...

How to set the maximum TCP mss (Maximum Segment Size) on Linux?

A simple question: In Linux, how do you set the maximum segment size that is allowed on a TCP connection? I need to set this for an application I did not write (so I cannot use setsockopt to do it). I need to set this ABOVE the mtu in the network stack. Here's why: I have two streams sharing the same network connection. One sends s...