Mombu the GNU Linux Forum sponsored links

Go Back   Mombu the GNU Linux Forum > GNU_Linux > emerge sync with > 98% io-wait
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 6th September 12:57
sascha lucas
External User
 
Posts: 1
Default emerge sync with > 98% io-wait



Hi list,

I've moved my gentoo-testing from vmware to real system.

But now I noticed a slow "emerge sync". Perhaps let me divide this into 3
steps:

1. the file-list (counting to 90000+)
2. walking through catiguries (i.e net-www/mozilla)
3. portage-cache

On the real system, step 2 is slow... my harddisk works and top
shows near 100% io-wait. what is differnt to my VM?

Thanks Sascha.

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


  sponsored links


2 8th September 01:26
adrian capdefier
External User
 
Posts: 1
Default emerge sync with > 98% io-wait



Is it dma enabled?
What's the result of hdparm /dev/hda (b/c/d). What's the result of
hdparm -tT /dev/hda (b/c/d)?

--

Adi

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
3 8th September 01:27
sascha lucas
External User
 
Posts: 1
Default emerge sync with > 98% io-wait


Hi Adrian,

# hdparm /dev/hda

/dev/hda:
multcount = 16 (on)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
geometry = 65535/16/63, sectors = 160086528, start = 0

# hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 1396 MB in 2.00 seconds = 696.71 MB/sec
Timing buffered disk reads: 172 MB in 3.03 seconds = 56.70 MB/sec

any suggestions? I've tried other io-schedulers like cfq and also
gentoo-(dev)-sources (2.4 and 2.6). but it doesn't help.

But I've changed / form ext3 to reiserfs (created new partition and
rsynced): this is realy fast.

Actually I reinstalled gentoo with ext3... as of now it seems to work
better. But I don't know what I did in an ohter way :-( Now I must wait
for the next aviable sync ...

THX,

Sascha.

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
4 9th September 05:05
adrian capdefier
External User
 
Posts: 1
Default emerge sync with > 98% io-wait


Reiser is better with hundreds of small files, which is exactly what
portage is (disk wise). But I don't get it. You changed / from ext3 to
reiserfs and reinstalled with ext3?
If you don't want reiser for the / (though this is the only fs I use and
now it's got quota support and still waiting unpatiently for v4 to be
cataloged as ready for server use) you don't need to. Just mount change
the /usr/portage to a directory residing on a reiserfs filesystem. If
you are really geeky you could make a 0.5G or so partition with reiserfs
and cluster size of 4KB (portage at the current size will fill about 92
Megs with that) and mount it under /usr/portage. You would need to
change the distfiles and packages directory. Personally I use
/home/gentoo/distfiles and /home/gentoo/packages.


--

CAPDEFIER Adrian
Executive Manager
072 352 47 69

DIGIFIN International S.R.L.,
Intr. Birsei nr. 4, sector 3, Bucuresti
021 643 29 90

--
gentoo-user@gentoo.org mailing list
  Reply With Quote
Reply


Thread Tools
Display Modes




Copyright © 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666