Tuesday, May 5, 2020

Fast Pc Routers Essay Example For Students

Fast Pc Routers Essay Fast PC RoutersWhats this all about?Were building IP routers out of PCs as tools for research and experimental network development. The goal of this work is to come up with an IP router platform which is completely open to bending, twisting, reprogramming, and the like, and yet has sufficient performance to be useful for experiments in the 1990s. Open routing platforms are an important tool for researchers developing new protocols and architectures. The DARTnet testbed, a precursor of this work, used routers built from Sun Sparcstations to catalyze the development of IP Multicast, RSVP, and the MBONE conferencing tools. We hope our project will help do the same for Mobile IP, Scalable Reliable Multicast, and the as yet unknown technologies of tomorrows Internet. Were using these routers to support our own work on IP Integrated Services QoS management, new security models, and Internet service discrimination and pricing. We also expect this or a derivative design to become the base IP router for the nationwide CAIRN testbed, currently being deployed. HardwarePlatformsIf you want decent performance from a PC router, you must plan to use current high-end hardware. After years of stagnation, the demands of multimedia and high-speed peripheral devices are finally driving PC overall performance up, in contrast with the marketing hype which previously put ever-faster processors on the same old memory and I/O subsystems. Even better, the performance emphasis is moving away from large-block (disk) I/O and towards short-transaction (graphics, networks, audio and video) I/O. The downside is that this development is happening today, and yesterdays (almost literally!) machines are noticably off the pace. Our blurb on PC Hardware for Network Researchers will give you some information about the equipment were using at MIT. DesignHeres the basic PC design with a processor, memory, and, in this case, two PCI I/O buses. A router constructed from this hardware exhibits several properties. First, the processor must control all aspects of the routers operation, both executing the forwarding loop and performing overhead functions such as routing and management protocols. This introduces two performance slow-downs. Not only must the CPU break away from the forwarding loop to execute overhead code, but executing that code will almost certainly remove the loop instructions and routing table from the CPUs cache. On a typical PC this is a crucial problem, because the main memory subsystem is not terribly fast. Another point of interest is that with todays PC designs there is adequate main memory bandwidth to operate two PCI buses and a processor at full rate simultaneously. This is encouraging. The reason for this is that it appears the primary limit to PC router performance is not CPU function or I/O bandwidth, but PCI bus arbitration time. Having two buses available reduces this arbitration bottleneck by a factor of two. The use of two buses does introduce one drawback. Since PCI is a multiple-master bus, it is possible for appropriately designed interface cards and router software to DMA packet data directly from one interface to another on the same bus, without ever touching system memory, reducing the data transfer cost by a factor of two. This technique is of course impossible between two different PCI buses, but the router can still use it between interfaces on the same bus. We use this configuration, with one or two PCI buses, for code development and where variable performance is acceptableMany performance limitations of the basic design can be avoided by adding another processor. With the advent of Intels Multiprocessor PC specification, two-processor machines are becoming common. Originally designed for symmetric multiprocessing, these machines are easily subverted to our needs. Importance Of Friendship EssayKTG kernel traffic generatorWeve implemented a simple in-kernel traffic generator which can source and sink small packets at hardware line rates with accurate timing. ATM (Raw, AAL5, Classical IP over ATM)Support for ATM data processing and signalling functions is being developed jointly with our colleagues at BBN and ISI-EAST. PerformanceSometime soon well have links to performance measurement graphs here. In the meantime, here are some early findings. See limitations for a discussion of why these routers sometimes dont work well at all. The basic IP forwarding loop, including buffer management but no interface overhead, currently runs at a few hundred thousand packets per second on a 150 MHz pentium pro. There is still some room for improvement; on a 200MHZ processor a basic rate above 500,000 pkts/second appears to be achievable. This number will be somewhat lower for traffic loads with a high percentage of multicast packets. In practice, again with the 150 MHz PPro, weve measured forwarding rates of approximately 80,000 packets per second between 100B-TX Fast Ethernet segments. The limiting factor in this experiment was the input interfaces ability to receive packets at a faster rate once a packet made it through the input interface to the router, it was forwarded successfully virtually 100% of the time. At present, we dont know whether this limit is a fundamental restriction of the interface chip or is being caused by PCI bus arbitration overhead. LimitationsThere are two significant limitations on the applicabi lity of these routers. They are less of a problem in our laboratory and testbed environments than they might be in other situations. The first limitation is that PC routers are inherently low-fanout devices. Inexpensive desktop PC motherboards have at most four PCI slots, which means a limit of four high-speed interfaces. More expensive server motherboards can be obtained with two PCI controllers offering six or eight PCI slots, at which point main memory bandwidth becomes a significant concern. Realistically, six high-speed interfaces may be the workable maximum. The second limitation is that these are route-caching routers, and when performance is an issue the size of the route table cache is effectively bounded by the size of the L2 hardware cache. This is not a problem in a testbed environment, where routes to at most a few thousand destinations might be expected. In circumstances where the count of active destinations exceeds this range, our current code will experience a sharp performance drop. Site ManagementWeve done a (very) little bit of thinking about how to support the use of our routers at sites that dont care to get involved in the grunge of building and installing PC sofware, and about how to support the use of these routers locked away in closets. Here are some talking points:Remote InstallationWere using a modified version of the standard FreeBSD network install program. This allows you to boot a machine connected to the network from a 3.5 floppy disk. The sofware will then download, install, and partially configure the OS and user programs from net. The install program offers a choice of several user-level code collections to tailor machines to specific requirements. Currently we offer only two, router and developer. Unattended OperationSometimes it will be necessary for a CAIRN infrastructure router to operate on an unattended basis. Weve identified several little things which can help. Our routers can be remotely powercycled and rebooted using a separate box which is controlled either over the internet (with password-protected telnet) or via a dialup phone line. A running machine can use a remote serial console, rather than the standard PC VGA adapter. A serial line can be used for remote source-level kernel debugging, if desired.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.