List:General Discussion« Previous MessageNext Message »
From:Dan Nelson Date:January 3 2000 4:40pm
Subject:Re: I need more speed...
View as plain text  
In the last episode (Jan 03), Rick Moore said:
> From: Tonu Samuel <tonu@stripped>
> > Do you have IDE or SCSI hd-s? There are many tricks what can be
> > done with IDE. I do not know much about SCSI and FreeBSD. Under
> 
> IDE, but thinking of switching to SCSI.  I've seen threads on this
> mail list discussing hdparm under Linux.  Unfortunately, it doesn't
> seem to exist on FreeBSD or I don't know the equivalent...  Perhaps
> some FreeBSD guru can enlighten me...
> 
> > > - Interrupt activity is very high.  About 60% of CPU activity is
> > > handling interrupt requests.  Almost all the interrupts are for
> > > disk activity.
> >
> > At least on IDE this means that processor can't do anything until
> > you issue -u1 with hdparm.
> 
> Ouch.  Hope it isn't that way on FreeBSD.

It is; the default for the wd driver is "play it safe", which means PIO
mode.  What you probably want to do is rebuild your kernel after adding
a "flags 0xa0ffa0ff" keyword to both of your IDE controllers in the
config file.  That will enable 32-bit I/O, DMA, and multi-block I/O for
both master and slave.  "man wd" for more info.

FreeBSD 4.0 has a completely rewritten IDE/ATA driver that can ask the
drive what capabilities it has, and enables the above options if the
drive says okay.
 
-- 
	Dan Nelson
	dnelson@stripped
Thread
I need more speed...Rick Moore3 Jan
  • Re: I need more speed...Tonu Samuel3 Jan
  • Re: I need more speed...Rick Moore3 Jan
  • Re: I need more speed...Tonu Samuel3 Jan
  • Re: I need more speed...Rick Moore3 Jan
    • Re: I need more speed...Dan Nelson3 Jan
    • Re: I need more speed...Benjamin Pflugmann3 Jan
    • Re: I need more speed...Michael Widenius4 Jan
      • RE: I need more speed...Steven Roussey5 Jan
        • Re: I need more speed...Benjamin Pflugmann5 Jan
          • RE: I need more speed...Steven Roussey5 Jan
            • Re: I need more speed...Benjamin Pflugmann5 Jan
          • RE: I need more speed...Steven Roussey5 Jan
            • Re: I need more speed...Benjamin Pflugmann5 Jan
            • RE: I need more speed...Michael Widenius5 Jan
              • RE: I need more speed...Steven Roussey6 Jan
                • OT: IP to Geographic areaCheng-Wei Cheng6 Jan
                  • RE: IP to Geographic areaJohn Zook6 Jan
  • Re: I need more speed...Sasha Pachev3 Jan
  • Re: I need more speed...Rick Moore3 Jan
  • Re: I need more speed...Tonu Samuel3 Jan
  • Re: I need more speed...Tonu Samuel3 Jan
    • LDAP package with mysql backendClickAgents4 Jan
      • Re: LDAP package with mysql backendRob McMillin4 Jan
      • LDAP package with mysql backendMichael Widenius4 Jan
        • Re: LDAP package with mysql backendChristopher E. Brown4 Jan
          • RE: LDAP package with mysql backendClickAgents4 Jan
            • RE: LDAP package with mysql backendChristopher E. Brown4 Jan
  • Re: I need more speed...Sasha Pachev4 Jan
    • Re: I need more speed...Michael Widenius4 Jan
      • how to..ClickAgents4 Jan
        • Re: how to..Benjamin Pflugmann4 Jan
  • Re: I need more speed...Rick Moore4 Jan
    • Re: I need more speed...Michael Widenius4 Jan
  • Re: As per your request; Re: I need more speed...Tonu Samuel5 Jan
  • Re: As per your request; Re: I need more speed...Rick Moore5 Jan
  • Re: As per your request; Re: I need more speed...Tonu Samuel5 Jan
    • FULL Text Indexjpabuyer5 Jan
      • Re: FULL Text IndexMark Zieg5 Jan
        • Re: FULL Text Indexjpabuyer5 Jan
      • RE: FULL Text IndexDan Ray5 Jan
        • RE: FULL Text Indexjpabuyer5 Jan
Re: I need more speed...Andy4 Jan
  • Re: I need more speed...Christopher E. Brown5 Jan
  • Re: I need more speed...Tonu Samuel5 Jan
Re: I need more speed...Andy4 Jan
  • Re: I need more speed...Michael Widenius4 Jan
    • Error: 2002 Can't connect to mysql using socket (111)Cheng-Wei Cheng5 Jan
      • Re: Error: 2002 Can't connect to mysql using socket (111)Sasha Pachev5 Jan