Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
The ONE Campaign to make poverty history

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Glossary
MoreInfo
Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
FAQ
Copyright Info
Terms of Use
Privacy Info
Disclaimer
WorkBoard
Thanks
Donations
Advertising
Masthead / Impressum
Your Account

Communication
Feedback
Forums
Private Messages
Surveys

Features
HOWTOs
News Archive
Submit News
Topics
User Articles
Web Links

Google
Google


The Web
linux-tutorial.info

Who's Online
There are currently, 57 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here

  

cytune



SYNOPSIS

       cytune  [-q  [-i interval]] ([-s value]|[-S value]) [-g|G]
       ([-t timeout]|[-T timeout]) tty [tty ...]


DESCRIPTION

       cytune queries and modifies the interruption threshold for
       the  Cyclades driver.  Each serial line on a Cyclades card
       has a 12-byte FIFO for input (and another 12-byte FIFO for
       output).  The "threshold" specifies how many input charac­
       ters must be present in the FIFO before an interruption is
       raised.   When a Cyclades tty is opened, this threshold is
       set to a default value based on baud rate:

                  Baud        Threshold

              50-4800            10
              9600                8
              19200               4
              38400               2
              57600-150000        1

       If the threshold is set  too  low,  the  large  number  of
       interruptions  can  load  the machine and decrease overall
       system throughput.  If the threshold is set too high,  the
       FIFO  buffer  can  overflow,  and characters will be lost.
       Slower machines, however, may not be able to deal with the
       interrupt  load,  and  will  require that the threshold be
       adjusted upwards.

       If the cyclades driver was compiled with ENABLE_MONITORING
       defined, the cytune command can be used with the -q option
       to report interrupts  over  the  monitoring  interval  and
       characters  transferred  over the monitoring interval.  It
       will also report the state of the FIFO.  The maximum  num­
       ber  of characters in the FIFO when an interrupt occurred,
       the instantaneous count of characters in the FIFO, and how
       many  characters  are  now in the FIFO are reported.  This
       output might look like this:

              /dev/cubC0: 830 ints, 9130 chars; fifo: 11  thresh­
              old, 11 max, 11 now
                 166.259866  interrupts/second, 1828.858521 char­
              acters/second

       This output indicates that for this monitoring period, the
       interrupts  were always being handled within one character
       time, because max never rose  above  threshold.   This  is
       good,  and  you can probably run this way, provided that a
       large number of samples come out this way.  You will  lose
       characters  if you overrun the FIFO, as the Cyclades hard­
       ware does not seem to support the RTS RS-232  signal  line
       for hardware flow control from the DCE to the DTE.  cytune
       old low, so that characters are responded to as quickly as
       possible.   If  your  SLIP link is generally used for file
       transfer, WWW, and the like, setting the FIFO  to  a  high
       value  is  likely  to reduce the load on your system while
       not significantly  affecting  throughput.   Alternatively,
       see  the  -t  or  -T  options  to adjust the time that the
       cyclades waits before flushing its buffer.  Units are 5ms.

       If  you  are  running  a  mouse  on a Cyclades port, it is
       likely that you would want to maintain the  threshold  and
       timeout at a low value.


OPTIONS

       -s value
              Set  the  current  threshold  to  value characters.
              Note that if the tty is  not  being  held  open  by
              another process, the threshold will be reset on the
              next open.  Only values between 1  and  12,  inclu­
              sive, are permitted.

       -t value
              Set the current flush timeout to value units.  Note
              that if the tty is not being held open  by  another
              process,  the  threshold  will be reset on the next
              open.  Only values between 0  and  255,  inclusive,
              are  permitted.   Setting  value to zero forces the
              default, currently 0x20 (160ms),  but  soon  to  be
              0x02 (10ms).  Units are 5 ms.

       -g     Get the current threshold and timeout.

       -T value
              Set the default flush timeout to value units.  When
              the tty is next opened, this  value  will  be  used
              instead of the default.  If value is zero, then the
              the value will default to 0x20 (160ms), soon to  be
              0x02 (10ms).

       -G     Get the default threshold and flush timeout values.

       -q     Gather statistics about the tty.  The  results  are
              only valid if the Cyclades driver has been compiled
              with ENABLE_MONITORING defined.  This  is  probably
              not the default.

       -i interval
              Statistics will be gathered every interval seconds.


BUGS

       If you run two copies of cytune at the same time to report
       statistics  about  the same port, the 'ints', 'chars', and

                            4 Mar 1995                  CYTUNE(8)
  

Looking for a "printer friendly" version?


Login
Nickname

Password

Security Code
Security Code
Type Security Code


Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!


Amazon Wish List

Did You Know?
You can help in many different ways.


Friends



Tell a Friend About Us

Bookmark and Share



Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.09 Seconds