On Thu, 27 Mar 2003, Daniel Draper wrote: > I'm interested to know peoples opinions. In regards to HIT/MISS packet > marking I figure it might be a good idea to make it an option in the > squid.conf file. Perhaps under the miscellaneous section and defined > something like: > > mark_client_packets <miss_mark> <hit_mark> > > miss_mark is the number between 0 and 16 that the packet is marked with > in the event of a cache miss and hit_mark is that of a cache hit.
Why would you use a number between 0 and 16? Wouldn't it make more sense to use a 6-bit DSCP value (see RFC 2474)? > Also, the ToS marks may need to be even valued only I think because of > the organization of the bits in the IP-Header. Can anyone clarify this? The 8-bit "Type of service" field defined in RFC 791 was subdivided into a 3-bit precedence field, three 1-bit fields labeled D, T and R; and two must-be-zero bits. RFC 1349 stole one of the must-be-zero bits, but nobody paid any attention. RFC 2474 redefined the whole mess as a 6-bit DSCP field plus two must-be-zero bits. --apb (Alan Barrett)
