Thursday, April 16, 2009

messing arround with git

so far i learned that to use git,
1)go to the directory that you would like to work on

2)enter the command $ git init
git will echo back
"Initialized empty Git repository in .git/"

3)take a snapshot of the contents in the directory
$ git add .

4)to store the contents perminatly
enter $ git commit

5)create experimental copy
$ git branch experimental

6)change between copies
enter $ git checkout experimental

Thursday, April 9, 2009

gratnam1-repo-1-1.noarch.rpm

created the repo rpm pretty easily, it was very straight forward, some of the issues that i had was that i didn't have the .repo and RPM-GPG-KEY file in the ~/rpmbuild/SOURCE folder, once i got the neccessary files in there the rpmbuild just fine
heres a link to my rpm file gratnam1-repo-1-1.noarch.rpm

Thursday, March 19, 2009

Build Package analyziation



Heres a more descriptive Image of the Build Package results

Wednesday, March 18, 2009

Distcc Analyzed

Name of package: cernlib-2006

1st run with value of -j 3 on china
real 27m9.709s
user 21m46.437s
sys 5m0.554s

2nd run with distcc on ireland(client) and scotland(server) with a value -j 20
real 26m57.953s
user 18m13.082s
sys 6m34.777s

3rd run with distcc on ireland(client) and scotland(server) with a value -j 8 on fc10
real 27m34.154s
user 18m12.926s
sys 6m33.681s

4th run with distcc on ireland(client) and scotland(server) with a value -j 10 on fc10
real 27m36.767s
user 18m12.984s
sys 6m32.915s

After Serval test runs i started to wonder if distrubiting jobs over distccd was taking an effect on time so i decided to do test run on my home pc.

5th run on my home computer with a i7 quad proccessor with 3gb ddr3 memory with a value -j3
real 18m51.978s
user 15m22.139s
sys 3m42.258s

6th run on my home computer with a i7 quad proccessor with 3gb ddr3 memory with a value -j10
real 17m47.881s
user 14m19.851s
sys 3m48.304s

After Two more test i realized that -j value was not having much of an effect so i started looking at other things and i noticed that ireland was using fedora 9, and the test on my home pc was a bit faster so i wondered if the operating system had an effect, again i started experimenting with a fedora core machine in my case i choose austraila.

7th run on Austrailia (client) scotland(server) -j3
real 26m5.646s
user 20m1.189s
sys 6m31.448s

8th run on Austrailia (client) scotland(server) -j10 between australia and scotland
real 25m56.564s
user 18m35.217s
sys 6m25.473s

After more examination i discoverd the operating system also had very little effect on the ammount of time it took to build the rpm

Tuesday, March 17, 2009

Total: Total Packages: Total Time: Time Posibly saved under mock: Total Time saved:
Less Than 1 minnute 3379 138044.56 97496.56 675.80
Less Than 2 minnutes 1436 124258.56 107026.56 287.20
Less Than 3 minnutes 659 95991.31 88083.31 131.80
Less Than 4 minnutes 254 52191.81 49143.81 50.80
Less than 5 minutes 107 28489.83 27205.83 21.40
Less than 10 minutes 170 70083.33 68043.33 34.00
Less than 30 minutes 56 52110.20 51438.20 11.20
Less than 1 hour 7 14930.83 14846.83 1.40
Less than 3 hour 6 33099.32 33027.32 1.20
More than 3 hour 2 44021.79 43997.79 0.40
Total hours saved by saving mock environment 20.25

Fedora 10 Packages analyzed

Creating a Rpm Package

ok, This is what happend i created an rpm package on my laptop and accidently installed installed windows on top it for i had to do it all over again, i took the source code for amsn messenger and created an rpm. Some of the issues i had at first was getting the right build requires installed like tcl-devel,tk-devel, how ever it was much easier the 2nd time arround any sorry for the late post. The copy of the rpm file can be found on scotland /var/f10source.