old-www/HOWTO/Install-Strategies/x457.html

356 lines
5.8 KiB
HTML
Raw Permalink Blame History

<HTML
><HEAD
><TITLE
>Tips and Suggestions</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.63
"><LINK
REL="HOME"
TITLE="Linux Installation Strategies mini-HOWTO"
HREF="index.html"><LINK
REL="PREVIOUS"
TITLE="XFree 4.01"
HREF="x445.html"><LINK
REL="NEXT"
TITLE="The State of Linux &#8211; What to Expect"
HREF="x514.html"></HEAD
><BODY
CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Linux Installation Strategies mini-HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="x445.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="x514.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECT1"
><H1
CLASS="SECT1"
><A
NAME="AEN457"
>14. Tips and Suggestions</A
></H1
><P
> <P
></P
><UL
><LI
><P
>Whatever soundcard you have Alsa drivers will deliver
better performance and if like me you have the Yamaha 724 the Alsa
drivers are nearly as good as those provided by Yamaha for
Windows. You will of course have to compile them for your system but
don't let that deter you. Its a simple matter of three commands. The
alsa drivers are available at
<A
HREF="http://www.alsa-project.org/"
TARGET="_top"
>http://www.alsa-project.org/</A
>
</P
></LI
><LI
><P
>Those used to scrolling with their mouse wheel/s will
not like Linux if they can't scroll. The good news is you can but it is
not set up by default. Add the following line to your
<TT
CLASS="FILENAME"
>XF86Config</TT
> file in
<TT
CLASS="FILENAME"
>/etc/X11/</TT
> in the mouse
section <TT
CLASS="USERINPUT"
><B
>"ZAxisMapping 4 5"</B
></TT
>
(obviously without the quotes though in
<SPAN
CLASS="APPLICATION"
>Xfree 4.01</SPAN
> you would have to
enclose the numerical values in quotes) If this doesn't work visit the
Linux scroll wheel homepage at
<A
HREF="http://www.inria.fr/koala/colas/mouse-wheel-scroll/"
TARGET="_top"
>http://www.inria.fr/koala/colas/mouse-wheel-scroll/</A
>
set up by a curiously named fellow called Colas Nahaboo.
</P
></LI
><LI
><P
>By default the hard disk is not configured to perform
at its optimum and in most cases the difference can be dramatic.
<SPAN
CLASS="ACRONYM"
>DMA</SPAN
>, 32<33>bit <SPAN
CLASS="ACRONYM"
>IO</SPAN
> and
multiple sector transfers are disabled by default and you
should enable them at the earliest this is of course presuming you have
a relatively new hard disk that support these features. As a test you
should benchmark your <SPAN
CLASS="ACRONYM"
>hdd</SPAN
> before and after you
change the settings just to see the difference tweaking can do to
your system. The utility to change the settings is
<SPAN
CLASS="APPLICATION"
>hdparm</SPAN
> and you can run it from an
<SPAN
CLASS="APPLICATION"
>xterm</SPAN
> or the console but for a permanent
solution append the command to your <TT
CLASS="FILENAME"
>rc.d</TT
> local
file in <TT
CLASS="FILENAME"
>/etc/rcd</TT
>. Before you
use <SPAN
CLASS="APPLICATION"
>hdparm</SPAN
> read the documentation
carefully. Its a powerful utility and misusing it can trash your
disk. First run <B
CLASS="COMMAND"
>hdparm</B
> with the
<TT
CLASS="OPTION"
>-i</TT
> option to get the
info on your <SPAN
CLASS="ACRONYM"
>hdd</SPAN
>, then benchmark it without the
changes by running
<B
CLASS="COMMAND"
>hdparm <TT
CLASS="OPTION"
>-Tt</TT
> /dev/hda</B
>. Then run
<B
CLASS="COMMAND"
>hdparm <TT
CLASS="OPTION"
>-c 1</TT
> <TT
CLASS="OPTION"
>-d 1</TT
>
<TT
CLASS="OPTION"
>-m16</TT
> <TT
CLASS="OPTION"
>-k 1</TT
> /dev/hda</B
>
</P
><P
><B
CLASS="COMMAND"
>hdparm <TT
CLASS="OPTION"
>-d 1</TT
></B
> (sets
<TT
CLASS="VARNAME"
>dma</TT
> to <TT
CLASS="CONSTANT"
>on</TT
>)
<TT
CLASS="OPTION"
>-m<TT
CLASS="REPLACEABLE"
><I
>x</I
></TT
></TT
>(this sets
multiple transfers where <TT
CLASS="REPLACEABLE"
><I
>x</I
></TT
> represents the
maximum (in my case <TT
CLASS="LITERAL"
>16</TT
>) that your
<SPAN
CLASS="ACRONYM"
>hdd</SPAN
> allows &#8211; running
<B
CLASS="COMMAND"
>hdparm</B
> with the <TT
CLASS="OPTION"
>-i</TT
> option gives
you the maximum that your <SPAN
CLASS="ACRONYM"
>hdd</SPAN
> allows )
<TT
CLASS="OPTION"
>-c 1</TT
> (sets 32<33>bit <SPAN
CLASS="ACRONYM"
>io</SPAN
>) and
<TT
CLASS="OPTION"
>-k 1</TT
> keeps the setting. In my case the data
transfer shotup from a mere <TT
CLASS="LITERAL"
>3.16</TT
> to
<TT
CLASS="LITERAL"
>16.8</TT
><EFBFBD>Mb/sec!</P
></LI
><LI
><P
>A file system driver for the
<SPAN
CLASS="ACRONYM"
>ext2</SPAN
> filesystem for Windows,
<SPAN
CLASS="SYSTEMITEM"
>ext2fs</SPAN
> is available from its homepage
<A
HREF="http://uranus.it.swin.edu.au/~jn/linux/"
TARGET="_top"
>http://uranus.it.swin.edu.au/~jn/linux/</A
>
giving you the added convienience of reading your Linux partitions from
within Windows.</P
></LI
></UL
>
</P
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="x445.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="x514.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><SPAN
CLASS="APPLICATION"
>XFree 4.01</SPAN
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
>&nbsp;</TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>The State of Linux &#8211; What to Expect</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>