Article View: mi.news
Article #39Re: UUCP map question
From: Kevin Darcy
Date: Fri, 11 Sep 1992 00:09
Date: Fri, 11 Sep 1992 00:09
62 lines
3211 bytes
3211 bytes
In article <BuDsA5.F71@fmsrl7.srl.ford.com> Chad Childers <chad@quality.ta.ford.com> writes:
>>at which one is most likely true), I'm wondering what the difference is in
>>the listings in the UUCP maps i.e.
>
>The various words each have a numerical value. What you try to do with a
>UUCP map is get a numerical value appropriate to your site... to that
>purpose, you can also combine them, do get things like DAILY+LOW. I am
>doing this from memory, believe I read it in the news.announce hierarchy
>someplace... but DAILY and POLLED have the same value, around 3000 I think,
>and DAILY is supposed to mean you call them, POLLED means they call you.
>The lower the number, the better the link, so if you do a DAILY+LOW that
>means it's a low-quality link and should be routed around. HIGH is
>actually a negative number (HIGH and LOW are +5 and -5 respectively).
>You can multiply or divide, for instance DAILY/2 means twice daily, and
>should give you 1500 if I remember correctly. It isn't super-important
>that all the words be right, as long as the numbers are roughly appropriate
>to the quality of the link.
>
>If you want more info on this, talk to Bob Leffler or Kevin Darcy, I'm sure
>they know more than I do about it.
>--
From pathalias's parse.y file:
{"DIRECT", 200},
{"DEMAND", 300},
{"DAILY", 5000},
{"HOURLY", 500},
{"DEDICATED", 100},
{"EVENING", 2000},
{"LOCAL", 25},
{"LOW", 5}, /* baud rate, quality penalty */
{"DEAD", MILLION},
{"POLLED", 5000},
{"WEEKLY", 30000},
{"HIGH", -5}, /* baud rate, quality bonus */
{"FAST", -80}, /* high speed (>= 9.6 kbps) modem */
/* deprecated */
{"ARPA", 100},
{"DIALED", 300},
Also, if a cost is omitted, e.g.
foo bar
then it's assigned a default value. In my pathalias version, this default
value is 4000, putting it somewhere between EVENING and DAILY. I'm sure this
comes as a shock to the many folks who apparently think the above syntax is
equivalent to declaring an alias, which has an effective cost of 0, i.e.
foo = bar
There are some fairly good README files and man pages on this stuff, if I
recall, but if those prove insufficient, talk to Peter Honeyman. I'm sure he
knows more than I do about it. :-)
------------------------------------------------------------------------------
kevin@cfctech.cfc.com | Kevin Darcy, Unix Systems Administrator
...destroyer!cfctech!kevin | Technical Services (CFC)
Voice: (313) 759-7140 | Chrysler Corporation
Fax: (313) 758-8173 | 25999 Lawrence Ave, Center Line, MI 48015
------------------------------------------------------------------------------
Technical Details
Message-ID:
<1992Sep11.000915.14724@cfctech.cfc.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!rel!cfctech!kevinReferences:
<1992Sep10.163723.1720@plex-1.ann-arbor.mi.us> <BuDsA5.F71@fmsrl7.srl.ford.com>Show Full Headers
Complete Article Headers
Newsgroups: mi.news Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!yale.edu!yale!gumby!destroyer!rel!cfctech!kevin From: kevin@cfctech.cfc.com (Kevin Darcy) Subject: Re: UUCP map question Message-ID: <1992Sep11.000915.14724@cfctech.cfc.com> Organization: Chrysler Financial Corp., Southfield, MI References: <1992Sep10.163723.1720@plex-1.ann-arbor.mi.us> <BuDsA5.F71@fmsrl7.srl.ford.com> Date: Fri, 11 Sep 1992 00:09:15 GMT Lines: 62