Gentoo Archives: gentoo-amd64

From: jai kumar <jaikumar1004_in@××××××××.in>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64]emerge make my comp slow :(
Date: Mon, 07 Aug 2006 14:22:19
Message-Id: 20060807141210.31310.qmail@web8611.mail.in.yahoo.com
In Reply to: Re: [gentoo-amd64]emerge make my comp slow :( by Richard Fish
1 Richard Fish <bigfish@××××××××××.org> wrote: On 8/6/06, jai kumar wrote:
2 > I compiled my kernel again with the correct sata drivers (libata, sata_via)
3 > as module. well i guess it "dma" thing again. does sata drives not support
4 > dma or what is wrong ??
5
6 They support DMA just fine....
7
8 > ----------------------------------------------------------------------------------------------
9 > flukebox@flukebox ~ $ sudo hdparm -tT /dev/sda (my whole hardisk)
10 > /dev/sda:
11 > Timing cached reads: 2592 MB in 2.00 seconds = 1295.31 MB/sec
12 > Timing buffered disk reads: 170 MB in 3.01 seconds = 56.41 MB/sec
13
14 ...and you are getting DMA transfers. Without DMA the buffered disk
15 read speed would be more like 3-4 MB/sec.
16
17 This is not the problem.
18
19 BTW, the reason hdparm doesn't show a dma mode, and the reason that
20 most of the other hdparm options don't work with your drive, is
21 because hdparm is meant to deal with IDE/PATA disk drives, not SATA.
22 There really is no additional configuration that you need to do for
23 SATA performance.
24
25 AFAICT, you still haven't told us how much RAM you have, or posted
26 your emerge --info.
27
28 -Richard
29 --
30 gentoo-amd64@g.o mailing list
31
32
33 I have a single 512mb (512x1) ram. I read out that ccache would be a better idea to enchance the performance. Anbody tried that ?
34 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.
35
36 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 too much cpu for few secs.
37
38
39
40 ----------------------------------------------------------------------------------------------
41 flukebox@flukebox ~ $ emerge --info
42 Portage 2.1.1_pre4-r3 (default-linux/amd64/2006.0, gcc-3.4.4/amd64-vanilla, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
43 =================================================================
44 System uname: 2.6.17-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
45 Gentoo Base System version 1.12.4
46 app-admin/eselect-compiler: 2.0.0_rc2-r1
47 dev-lang/python: 2.4.3-r1
48 dev-python/pycrypto: 2.0.1-r5
49 dev-util/ccache: [Not Present]
50 dev-util/confcache: [Not Present]
51 sys-apps/sandbox: 1.2.18.1
52 sys-devel/autoconf: 2.13, 2.60
53 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
54 sys-devel/binutils: 2.17
55 sys-devel/gcc-config: 2.0.0_rc1
56 sys-devel/libtool: 1.5.22
57 virtual/os-headers: 2.6.16
58 ACCEPT_KEYWORDS="amd64 ~amd64"
59 AUTOCLEAN="yes"
60 CBUILD="x86_64-pc-linux-gnu"
61 CFLAGS="-march=k8 -O2 -pipe"
62 CHOST="x86_64-pc-linux-gnu"
63 CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
64 CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
65 CXXFLAGS="-march=k8 -O2 -pipe"
66 DISTDIR="/usr/portage/distfiles"
67 FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
68 GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
69 MAKEOPTS="-j1"
70 PKGDIR="/usr/portage/packages"
71 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
72 PORTAGE_TMPDIR="/var/tmp"
73 PORTDIR="/usr/portage"
74 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
75 USE="amd64 X alsa apic avi berkdb bitmap-fonts clflush cli cmov crypt cx8 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 lzw-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 truetype-fonts ts tsc ttp type1-fonts usb userland_GNU vid video_cards_via xorg xpm xv zlib"
76 Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
77
78 flukebox@flukebox ~ $
79
80 ----------------------------------------------------------------------------------------------
81 ~jaiks
82
83
84
85 ---------------------------------
86 Here’s a new way to find what you're looking for - Yahoo! Answers

Replies