Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 913839 - New source mirror: gentoo.uls.co.za - 1000 Mb/s @ Johannesburg, ZA
Summary: New source mirror: gentoo.uls.co.za - 1000 Mb/s @ Johannesburg, ZA
Status: RESOLVED FIXED
Alias: None
Product: Mirrors
Classification: Unclassified
Component: New Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-07 20:36 UTC by Jaco Kroon
Modified: 2023-09-12 12:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaco Kroon 2023-09-07 20:36:13 UTC
Please fill in the information below.

 Sponsor Name: Ultimate Linux Solutions
     Location: Johannesburg, ZA
    Bandwidth: 1Gbps
Admin Contact: support@uls.co.za

The mirror can be accessed via the following URLs:

 HTTP: https://gentoo.uls.co.za/
  FTP:
RSYNC:

IPv6 connectivity [yes v4+v6/yes v6 only/no]: v4+v6

There is a limit on concurrent connections [amount/no]: wherever the web server clutches out ... no configured limit :).  May implement if problems arises.

Additional comments:
Comment 1 Jaco Kroon 2023-09-07 20:37:43 UTC
Initial sync will still be a while.  Seems I'm only able to retrieve at around 50Mbps from osuosl.  Will advise once the initial sync is completed and 4-hourly has been set up.
Comment 2 Jaco Kroon 2023-09-08 05:36:36 UTC
uls@dexter [07:35:15] ~ $ df -h /var/www/gentoo.uls.co.za/
Filesystem                     Size  Used Avail Use% Mounted on
/dev/mapper/lvm-gentoo_mirror 1007G  106G  902G  11% /var/www/gentoo.uls.co.za


bottleneck is definitely not the local disks or any network directly attached to us, still going strong but slow.  I trust that after initial rsync is complete things should be faster to just get the deltas.
Comment 3 Jaco Kroon 2023-09-08 05:39:38 UTC
64 bytes from ftp-osl.osuosl.org (2605:bc80:3010::134): icmp_seq=3 ttl=42 time=289 ms

Never mind ... there we go, given standard TCP/IP parameters (window sizes) and the round-trip time the speed is about as good as we can expect (haven't done the calc in a while but I recall calculating once that at about 120ms RTT we should only do marginally better than 100Mbps given 6MB (fairly standard AFAIK) TCP window sizes.
Comment 4 Jaco Kroon 2023-09-10 09:51:31 UTC
Initial sync finished.

A follow-up sync took ~10 minutes and definitely pulled some additional content, an immediate follow-up took ~ 1.5 minutes.

I've now enabled the 4-hourly cron with:

0 */4 * * * time /usr/bin/lockrun --lockfile /var/www/gentoo.uls.co.za/.lock -- /usr/bin/rsync -av --delete rsync://masterdistfiles.gentoo.org/gentoo/ /var/www/gentoo.uls.co.za/htdocs/


(Which will for the time being send me an email so that I can get some surety that this works as intended, as well as the frequency of updates)
Comment 5 Larry the Git Cow gentoo-dev 2023-09-12 12:04:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/data/api.git/commit/?id=45783bf488cf6726ffd018bee23c22d284fcd800

commit 45783bf488cf6726ffd018bee23c22d284fcd800
Author:     Jaco Kroon <jaco@uls.co.za>
AuthorDate: 2023-09-12 09:30:05 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-09-12 12:04:15 +0000

    mirrors: distfiles: add Ultimate Linux Solutions (ZA)
    
    Closes: https://bugs.gentoo.org/913839
    Signed-off-by: Jaco Kroon <jaco@uls.co.za>
    Closes: https://github.com/gentoo/api-gentoo-org/pull/621
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 files/mirrors/distfiles.xml | 4 ++++
 1 file changed, 4 insertions(+)