<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
I've installed spacewalk 2.2 and used the util script to create
channels. I completed one repo sync for fedoa 20 updates which took
1 day and 9 hours. I noticed that the iowait was ~4 - 6% the entire
time. When complete the db files or postgres were ~3GB. <br>
<br>
<br>
<b>Questions</b><br>
<br>
1. Will the sync take this long each time or only the 1st initial
sync? It is not clear to me how much io will be repeated during an
update sync.<br>
<br>
<br>
2. The database and memory usage is ok. The server is centos 6.5
as a guest kvm vm on a centos host. The underlying file system is a
raid 10 with 4 10k sas drives 600GB each, ~1.1TB, 18% used . The
file system is xfs on the host, with a qcow2 disk for the vm, and
ext4 within the guest. The driver in the guest is virtio. Is there
a better fs/driver combination configuration? <br>
I also notices that the iowait in the host is ~50% less then iowait
in the guest vm. The vm disk was created to be 124GB and 15GB were
pre-allocated.<br>
<br>
<tt>------------------------------------------------------------------------</tt><tt><br>
</tt><tt>Controller information</tt><tt><br>
</tt><tt>------------------------------------------------------------------------</tt><tt><br>
</tt><tt> Controller type : SAS2008</tt><tt><br>
</tt><tt> BIOS version : 7.11.10.00</tt><tt><br>
</tt><tt> Firmware version : 7.15.08.00</tt><tt><br>
</tt><tt>------------------------------------------------------------------------</tt><tt><br>
</tt><tt>IR Volume information</tt><tt><br>
</tt><tt>------------------------------------------------------------------------</tt><tt><br>
</tt><tt>IR volume 1</tt><tt><br>
</tt><tt> Volume ID : 78</tt><tt><br>
</tt><tt> Volume Name : VD_1</tt><tt><br>
</tt><tt> Status of volume : Okay (OKY)</tt><tt><br>
</tt><tt> RAID level : RAID10</tt><tt><br>
</tt><tt> Size (in MB) : 1143552</tt><tt><br>
</tt><tt>------------------------------------------------------------------------</tt><tt><br>
</tt><tt>Model Number for each disk : WD6001BKHG</tt><tt><br>
</tt><tt>------------------------------------------------------------------------</tt><br>
<br>
<br>
<br>
3. I am tempted to add an ssd pcie card or an external ssd based
disk for the postgres database and give it to the vm as a
passthrough device. Is there any recommendation for sizing,
configuration to handle the io required? The channels are listed
below.<br>
<br>
<br>
4. Is it possible for fedora to provide a database dump for the
repo-sync that could just be imported? Would this be more
efficient? I assume this is not helpful since it has not been done
and I should just add a file system and hardware to meet the io
requirement. <br>
<br>
<br>
5. Could anyone offer a recommendation for capacity and io for the
database specifically? The rpms reside on an nfs share external to
the vm.<br>
<br>
<br>
6. Is it likely to take about a month to sync the repos listed
below? And the sync - updated processes?<br>
<br>
<br>
<br>
The spacewalk requirements documented seem to need more elaboration
on these details, especially the database io (unless my system is
not normal and sub-par standard.). This scenario is for testing and
I'd like to scale it properly. Advice is requested.<br>
<br>
Thank you,<br>
Kevin<br>
<br>
<br>
<br>
<tt>=======================================================================</tt><tt><br>
</tt><tt>spacewalk-repo-sync </tt><tt>--channel </tt><tt><br>
<br>
<br>
</tt><tt>fedora20-x86_64</tt><tt><br>
</tt><tt>fedora20-x86_64-updates</tt><tt><br>
</tt><tt><br>
</tt><tt>centos6-x86_64</tt><tt><br>
</tt><tt>centos6-x86_64-updates</tt><tt><br>
</tt><tt>epel6-centos6-x86_64</tt><tt><br>
</tt><tt><br>
</tt><tt>centos7-x86_64</tt><tt><br>
</tt><tt>centos7-x86_64-updates</tt><tt><br>
</tt><tt>epel7-centos7-x86_64</tt><tt><br>
</tt><tt><br>
</tt><tt>centos6-x86_64-addons</tt><tt><br>
</tt><tt>centos6-x86_64-centosplus</tt><tt><br>
</tt><tt>centos6-x86_64-contrib</tt><tt><br>
</tt><tt>centos6-x86_64-extras</tt><tt><br>
</tt><tt>centos6-x86_64-fasttrack</tt><tt><br>
</tt><tt><br>
</tt><tt>centos7-x86_64-addons</tt><tt><br>
</tt><tt>centos7-x86_64-centosplus</tt><tt><br>
</tt><tt>centos7-x86_64-contrib</tt><tt><br>
</tt><tt>centos7-x86_64-extras</tt><tt><br>
</tt><tt>centos7-x86_64-fasttrack</tt><tt><br>
</tt><tt><br>
</tt><tt>spacewalk-nightly-client-fedora20-x86_64</tt><tt><br>
</tt><tt>spacewalk-nightly-server-fedora20-x86_64</tt><tt><br>
</tt><tt>spacewalk-nightly-client-centos6-x86_64</tt><tt><br>
</tt><tt>spacewalk-nightly-server-centos6-x86_64</tt><tt><br>
</tt><br>
<tt>=======================================================================</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt>spacewalk-repo-sync --channel fedora20-x86_64</tt><tt><br>
</tt><tt>#### Channel label: fedora20-x86_64 ####</tt><tt><br>
</tt><tt>Repo URL:
<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=fedora-20&arch=x86_64">https://mirrors.fedoraproject.org/metalink?repo=fedora-20&arch=x86_64</a></tt><tt><br>
</tt><tt>Packages in repo: 38597</tt><tt><br>
</tt><tt>Packages already synced: 0</tt><tt><br>
</tt><tt>Packages to sync: 38597</tt><tt><br>
</tt><tt>1/38597 : vala-devel-0.22.1-1.fc20-0.i686</tt><tt><br>
</tt><tt>.........</tt><tt><br>
</tt><tt>..............</tt><tt><br>
<br>
<br>
</tt><tt><br>
</tt><tt>spacewalk-repo-sync --channel fedora20-x86_64-updates</tt><tt><br>
</tt><tt>=======================================================================</tt><tt><br>
</tt><tt><br>
</tt><tt>#### Channel label: fedora20-x86_64-updates ####</tt><tt><br>
</tt><tt>Repo URL:
<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=updates-released-f20&arch=x86_64">https://mirrors.fedoraproject.org/metalink?repo=updates-released-f20&arch=x86_64</a></tt><tt><br>
</tt><tt>Packages in repo: 18004</tt><tt><br>
</tt><tt>Packages already synced: 0</tt><tt><br>
</tt><tt>Packages to sync: 18004</tt><tt><br>
</tt><tt>1/18004 : autocorr-is-4.2.5.2-6.fc20-1.noarch</tt><tt><br>
</tt><tt>2/18004 :
texlive-everypage-doc-svn15878.1.1-5.fc20-3.noarch</tt><tt><br>
</tt><tt>........</tt><tt><br>
</tt><tt>................</tt><tt><br>
</tt><tt>........</tt><tt><br>
</tt><tt><br>
</tt><tt><br>
</tt><tt>18002/18004 : bigloo-libs-4.1a-4.2.fc20-0.i686</tt><tt><br>
</tt><tt>18003/18004 : libinfinity-gtk-devel-0.5.5-1.fc20-0.x86_64</tt><tt><br>
</tt><tt>18004/18004 : kwin-gles-libs-4.11.10-2.fc20-0.x86_64</tt><tt><br>
</tt><tt>Linking packages to channel.</tt><tt><br>
</tt><tt>Repo
<a class="moz-txt-link-freetext" href="https://mirrors.fedoraproject.org/metalink?repo=updates-released-f20&arch=x86_64">https://mirrors.fedoraproject.org/metalink?repo=updates-released-f20&arch=x86_64</a>
has comps file
b3eecc6977ab971945f5fcbf548e472869ba1af75e354160e03c79f70e965493-comps-f20.xml.gz.</tt><tt><br>
</tt><tt>ERROR: failure:
repodata/a558b061a3004e402bf0b2396b3a797d9182dbf2dcb3abd1be90fd3c11698974-updateinfo.xml.gz
from fedora20-x86_64-updates: [Errno 256] No more mirrors to try.</tt><tt><br>
</tt><tt>Sync completed.</tt><tt><br>
</tt><tt>Total time: 1 day, 9:42:52</tt><tt><br>
</tt><tt>[root@spacewalk ~]# </tt><br>
<br>
<br>
<br>
<br>
</body>
</html>