From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GA5zm-0006tV-JY for garchives@archives.gentoo.org; Mon, 07 Aug 2006 14:22:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k77EIqC0007934; Mon, 7 Aug 2006 14:18:52 GMT Received: from web8611.mail.in.yahoo.com (web8611.mail.in.yahoo.com [202.43.219.180]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k77EIpeN023642 for ; Mon, 7 Aug 2006 14:18:51 GMT Received: (qmail 31312 invoked by uid 60001); 7 Aug 2006 14:12:10 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=sb/n6BBytE6TMA8x21r9DLqp9TDxCMv0UX13dJcOnG0ksmaF/y3PkYwoDrq3ss/blLN+U5a5VluIRsNrytjYV238FvCas8nBIOCs3rnOcpW7R/jAcjtL8jchipWvDqw3uLcqvCimsHpc+0HYFeW27U2fuzyR6YNCiww3URp25tI= ; Message-ID: <20060807141210.31310.qmail@web8611.mail.in.yahoo.com> Received: from [203.200.95.130] by web8611.mail.in.yahoo.com via HTTP; Mon, 07 Aug 2006 15:12:10 BST Date: Mon, 7 Aug 2006 15:12:10 +0100 (BST) From: jai kumar Subject: Re: [gentoo-amd64]emerge make my comp slow :( To: gentoo-amd64@lists.gentoo.org In-Reply-To: <7573e9640608061639x19ec86d1g8064f7f093690211@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-949969439-1154959930=:30045" X-Archives-Salt: 6dd139c4-6b14-4150-885d-dc6c0d307a1f X-Archives-Hash: e15bf25d7cf2eb7be2109175e052211b --0-949969439-1154959930=:30045 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k77EIqCw007934 Richard Fish wrote: On 8/6/06, jai kumar wrote: > I compiled my kernel again with the correct sata drivers (libata, sata_= via) > as module. well i guess it "dma" thing again. does sata drives not supp= ort > dma or what is wrong ?? They support DMA just fine.... > -----------------------------------------------------------------------= ----------------------- > flukebox@flukebox ~ $ sudo hdparm -tT /dev/sda (my whole hardisk) > /dev/sda: > Timing cached reads: 2592 MB in 2.00 seconds =3D 1295.31 MB/sec > Timing buffered disk reads: 170 MB in 3.01 seconds =3D 56.41 MB/sec ...and you are getting DMA transfers. Without DMA the buffered disk read speed would be more like 3-4 MB/sec. This is not the problem. BTW, the reason hdparm doesn't show a dma mode, and the reason that most of the other hdparm options don't work with your drive, is because hdparm is meant to deal with IDE/PATA disk drives, not SATA. There really is no additional configuration that you need to do for SATA performance. AFAICT, you still haven't told us how much RAM you have, or posted your emerge --info. -Richard --=20 gentoo-amd64@gentoo.org mailing list I have a single 512mb (512x1) ram. I read out that ccache would be a be= tter idea to enchance the performance. Anbody tried that ? one more thing, i am unable to find a xorg.conf in "/etc/X11/"...where it= is ? I google about that but didn't help.=20 it's weird but true that this time (with new kernel) performance is bette= r than before and no more emerge problems but sometimes X takes too much = cpu for few secs.=20 =20 -------------------------------------------------------------------------= --------------------- flukebox@flukebox ~ $ emerge --info Portage 2.1.1_pre4-r3 (default-linux/amd64/2006.0, gcc-3.4.4/amd64-vanill= a, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.4 app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.16 ACCEPT_KEYWORDS=3D"amd64 ~amd64" AUTOCLEAN=3D"yes" CBUILD=3D"x86_64-pc-linux-gnu" CFLAGS=3D"-march=3Dk8 -O2 -pipe" CHOST=3D"x86_64-pc-linux-gnu" CONFIG_PROTECT=3D"/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kd= e/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK=3D"/etc/env.d /etc/env.d/java/ /etc/eselect/compiler = /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS=3D"-march=3Dk8 -O2 -pipe" DISTDIR=3D"/usr/portage/distfiles" FEATURES=3D"autoconfig distlocks metadata-transfer sandbox sfperms strict= " GENTOO_MIRRORS=3D"http://distfiles.gentoo.org http://distro.ibiblio.org/p= ub/linux/distributions/gentoo" MAKEOPTS=3D"-j1" PKGDIR=3D"/usr/portage/packages" PORTAGE_RSYNC_OPTS=3D"--recursive --links --safe-links --perms --times --= compress --force --whole-file --delete --delete-after --stats --timeout=3D= 180 --exclude=3D'/distfiles' --exclude=3D'/local' --exclude=3D'/packages'= " PORTAGE_TMPDIR=3D"/var/tmp" PORTDIR=3D"/usr/portage" SYNC=3D"rsync://rsync.gentoo.org/gentoo-portage" USE=3D"amd64 X alsa apic avi berkdb bitmap-fonts clflush cli cmov crypt c= x8 dlloader dri eds elibc_glibc emboss encode fid foomaticdb fortran fxsr= gif gnome gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices= _keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lm lzw l= zw-tiff mca mce mp3 mpeg msr mtrr ncurses nls nptl nptlonly nx opengl pae= pam pat pcre pdflib perl pge png pppd pse36 python qt qt3 qt4 quicktime = readline reflection sdl sep session spell spl ssl syscall tcpd tiff truet= ype-fonts ts tsc ttp type1-fonts usb userland_GNU vid video_cards_via xor= g xpm xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS= , LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY flukebox@flukebox ~ $ -------------------------------------------------------------------------= --------------------- ~jaiks =20 =09 --------------------------------- Here=92s a new way to find what you're looking for - Yahoo! Answers=20 --0-949969439-1154959930=:30045 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k77EIqCw007934

Richard Fish <bigfish@asmallpond.org> wrote:<= blockquote class=3D"replbq" style=3D"border-left: 2px solid rgb(16, 16, 2= 55); margin-left: 5px; padding-left: 5px;"> On 8/6/06, jai kumar wrote:
> I compiled my kernel again with the = correct sata drivers (libata, sata_via)
> as module. well i guess i= t "dma" thing again. does sata drives not support
> dma or what is = wrong ??

They support DMA just fine....

> --------------= -------------------------------------------------------------------------= -------
> flukebox@flukebox ~ $ sudo hdparm -tT /dev/sda (my whole= hardisk)
> /dev/sda:
> Timing cached reads: 2592 MB in 2= .00 seconds =3D 1295.31 MB/sec
> Timing buffered disk reads: 170 = MB in 3.01 seconds =3D 56.41 MB/sec

...and you are getting DMA t= ransfers. Without DMA the buffered disk
read speed would be more like= 3-4 MB/sec.

This is not the problem.

BTW, the reason hdparm doesn't show a dma mode, and the = reason that
most of the other hdparm options don't work with your driv= e, is
because hdparm is meant to deal with IDE/PATA disk drives, not S= ATA.
There really is no additional configuration that you need to do f= or
SATA performance.

AFAICT, you still haven't told us how much= RAM you have, or posted
your emerge --info.

-Richard
-- gentoo-amd64@gentoo.org mailing list


 I have a single 512mb (512x1) ram.  I read = out that ccache would be a better idea to enchance the performance. = Anbody tried that ?
one more thing, i am unable to find a xorg.conf i= n "/etc/X11/"...where it is ? I google about that but didn't  help. =

it's weird but true that this time (with new kernel) performance = is better than before and no more emerge problems but sometimes X takes t= oo much cpu for few secs.



--------------------------------------------------------------------= --------------------------
flukebox@flukebox ~ $ emerge --info
Port= age 2.1.1_pre4-r3 (default-linux/amd64/2006.0, gcc-3.4.4/amd64-vanilla, g= libc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 P= rocessor 3000+
Gentoo Base System version 1.12.4
app-admin/eselect-= compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-= r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:   =   [Not Present]
dev-util/confcache:  [Not Present]
sys-ap= ps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13,= 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3= , 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0= .0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:&nb= sp; 2.6.16
ACCEPT_KEYWORDS=3D"amd64 ~amd64"
AUTOCLEAN=3D"yes"
CBUIL= D=3D"x86_64-pc-linux-gnu"
CFLAGS=3D"-march=3Dk8 -O2 -pipe"
CHOST=3D= "x86_64-pc-linux-gnu"
CONFIG_PROTECT=3D"/etc /usr/kde/3.5/env /usr/kde= /3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/con= fig"
CONFIG_PROTECT_MASK=3D"/etc/env.d /etc/env.d/java/ /etc/eselect/c= ompiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminf= o"
CXXFLAGS=3D"-march=3Dk8 -O2 -pipe"
DISTDIR=3D"/usr/portage/distf= iles"
FEATURES=3D"autoconfig distlocks metadata-transfer sandbox sfper= ms strict"
GENTOO_MIRRORS=3D"http://distfiles.gentoo.org http://distro= .ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=3D"-j1"
PKGDI= R=3D"/usr/portage/packages"
PORTAGE_RSYNC_OPTS=3D"--recursive --links = --safe-links --perms --times --compress --force --whole-file --delete --d= elete-after --stats --timeout=3D180 --exclude=3D'/distfiles' --exclude=3D= '/local' --exclude=3D'/packages'"
PORTAGE_TMPDIR=3D"/var/tmp"
PORTDIR=3D"/u= sr/portage"
SYNC=3D"rsync://rsync.gentoo.org/gentoo-portage"
USE=3D= "amd64 X alsa apic avi berkdb bitmap-fonts clflush cli cmov crypt cx8 dll= oader dri eds elibc_glibc emboss encode fid foomaticdb fortran fxsr gif g= nome gpm gstreamer gtk gtk2 imlib input_devices_evdev input_devices_keybo= ard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lm lzw lzw-tif= f mca mce mp3 mpeg msr mtrr ncurses nls nptl nptlonly nx opengl pae pam p= at pcre pdflib perl pge png pppd pse36 python qt qt3 qt4 quicktime readli= ne reflection sdl sep session spell spl ssl syscall tcpd tiff truetype-fo= nts ts tsc ttp type1-fonts usb userland_GNU vid video_cards_via xorg xpm = xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG= , LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
=
flukebox@flukebox ~ $

---------------------------------------------------------------= -------------------------------
~jaiks

=09 =09


=20 Here=92s a new way to find what you're looking for - Yahoo! Answ= ers=20 --0-949969439-1154959930=:30045-- -- gentoo-amd64@gentoo.org mailing list