Re: users losing interest

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ok Kent:

Seems that your I/O subsystem supports Ultra DMA 4 ( udma ) but is using
Ultra DMA 2 ( udma2 ) as reported by hdparm

"        DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2 udma3 udma4"


As root,

Try to execute next sentence and repeat the hdparm -tT commands to see if
values are increased

hdparm -d1 -X68 /dev/hda

With this we assure that DMA are activated ( -d1 ) and that we are using
UDMA4 ( -X64 + 4 ) as explained in man hdparm

Prelink:

Execute

rpm -qa | grep prelink

If returns nothing download from
http://www.rpmfind.net/linux/rpm2html/search.php?query=prelink&submit=Search+...
 ( if this link doesn't run try same link with ! (exclamation) to the end
without blank spaces after ... )

install it with rpm -i prelink<version>.rpm

Once installed go to /etc/cron.daily

Assure that a prelink executable file exists. If not create one with this
content :
#==================================================================================
#!/bin/sh

. /etc/sysconfig/prelink

renice +19 -p $$ >/dev/null 2>&1

if [ "$PRELINKING" != yes ]; then
  if [ -f /etc/prelink.cache ]; then
    echo /usr/sbin/prelink -uav > /var/log/prelink.log
    /usr/sbin/prelink -uav >> /var/log/prelink.log 2>&1
    rm -f /etc/prelink.cache
    # Restart init if needed
    [ -n "$(find `ldd /sbin/init | awk '{ print $3 }'` /sbin/init -ctime -1
2>/d
ev/null )" ] && /sbin/telinit u
  fi
  exit 0
fi

if [ ! -f /etc/prelink.cache -o -f /var/lib/misc/prelink.force ] \
   || grep -q '^prelink-ELF0.[0-2]' /etc/prelink.cache; then
  # If cache does not exist or is from older prelink versions or
  # if we were asked to explicitely, force full prelinking
  rm -f /etc/prelink.cache /var/lib/misc/prelink.force
  PRELINK_OPTS="$PRELINK_OPTS -f"
  date > /var/lib/misc/prelink.full
elif [ -n "$PRELINK_FULL_TIME_INTERVAL" \
       -a "`find /var/lib/misc/prelink.full -mtime
-${PRELINK_FULL_TIME_INTERVAL} 2>/dev/null`" \
          = /var/lib/misc/prelink.full ]; then
  # If prelink without -q has been run in the last
  # PRELINK_FULL_TIME_INTERVAL days, just use quick mode
  PRELINK_OPTS="$PRELINK_OPTS -q"
else
  date > /var/lib/misc/prelink.full
fi

echo /usr/sbin/prelink -av $PRELINK_OPTS > /var/log/prelink.log
/usr/sbin/prelink -av $PRELINK_OPTS >> /var/log/prelink.log 2>&1
# Restart init if needed
[ -n "$(find `ldd /sbin/init | awk '{ print $3 }'` /sbin/init -ctime -1
2>/dev/null )" ] && /sbin/telinit u

exit 0
#==================================================================================

You must have something like this under /etc/cron.daily

ls -l /etc/cron.daily
<OTHER_FILES>
-rwxr-xr-x    1 root     root         1455 oct 27 20:32 prelink
<OTHER_FILES>

Now, force prelink execution with this command

/etc/cron.daily/prelink

After a while, when prelink has done the job, use the computer and see if
experience is better.

To make hdparm changes survive to reboot, edit /etc/sysconfig/harddisks and
at the end of the file add

EXTRA_PARAMS=-X68

Will be helfull if you can send again the hdparm -tT results after hdparm
changes and explain what kind of applications are you using in the
computer/s.

Send, if you want the output of the next command

chkconfig --list

to see what services we can stop if you the are never used.


HTH

David Ballester Montolio
Responsable de Sistemas y Comunicaciones
Kern Pharma, S.L.
www.kernpharma.com

GNU!




-- 
Shrike-list mailing list
Shrike-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/shrike-list

[Index of Archives]     [Fedora Users]     [Centos Users]     [Kernel Development]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat Phoebe Beta]     [Yosemite Forum]     [Fedora Discussion]     [Gimp]     [Stuff]     [Yosemite News]

  Powered by Linux