- 09 Jun, 2015 14 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
These need to be generalized since its probably not the last non Emulab aggregate we are going to talk to.
-
Leigh B Stoller authored
the source is the geni-lib script.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
what they should be from the siteids on the nodes.
-
Mike Hibler authored
I thought I would be clever and check the client ID on a JOIN reply to make sure we match up the proper request/reply (an issue when replies are multicast). However, on a JOINv1, the reply does not include the clientid. Unfortunately, for previous backward-compat situations, we still do generate JOINv1 requests most of the time. So for JOINv1's we don't try to check the clientid. This means that with a newer server that MCs replies, a JOINv1 client may see someone else's reply and start transmitting requests even before the server has seen that client's join request. This is not an issue for us right now since the server only loosely tracks its clients and does so just so that it can report stats when the client leaves. I say "loosely" because, e.g., the server does not require that block requests come from a JOIN'ed client.
-
- 08 Jun, 2015 2 commits
-
-
Mike Hibler authored
Previously on MFMH: * Our hero added incremental kernel export updates to mountd so that a single update would finish within his lifetime, * Hero subsequently discovers that an incremental update still takes 8 seconds on the Emulab Mothership, * Hero discovers that remaining time is spent NOT in kernel operations or even complex calculations of orbital mechanics, but rather in simple parsing of text from a 1300 line file. * Hero gives up in despair. This week on MFMH: * Our revitalized hero applies gprof-fu to the problem and discovers that 7.9 seconds of the 8 second /etc/exports parse time is spent stat()ing /etc/nsswitch.conf 2,392,057 times. * "WtF!", exclaims our hero, "that is 27.3 stats for every text character in the file!" * Problem is traced to the fact that we do "-maproot=root" for each of the 1344 exports and every parse of that option looks up root in the password file and determines which of the 1784 groups in /etc/group root belongs to. Each of those 1344 * 1784 "get group entry" calls, stats /etc/nsswitch.conf to see if the file has changed. * "Bite me!", sez Mike, and he adds a CACHE_ROOT_CREDS option to mountd so that the lookup is only done on the very first instance of -maproot=root. A single incremental update of exports now takes 0.75 seconds.
-
Leigh B Stoller authored
-
- 05 Jun, 2015 6 commits
-
-
Gary Wong authored
-
Gary Wong authored
-
Leigh B Stoller authored
June 15 (noon).
-
Gary Wong authored
It used to mean bytes per second. Now it means bits per second. To avoid worrying about client-side versions and updating, we'll keep the client unmodified and convert statistics on their way through the server. Who doesn't like ugly hacks?
-
Gary Wong authored
-
Leigh B Stoller authored
certificate. Need to decide how to deal with it; the cert parsing code requires a URN in the certificate, and I don't want to mess with that right now.
-
- 04 Jun, 2015 1 commit
-
-
Gary Wong authored
-
- 03 Jun, 2015 1 commit
-
-
Leigh B Stoller authored
-
- 02 Jun, 2015 5 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
David Johnson authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 01 Jun, 2015 4 commits
-
-
Mike Hibler authored
-
Gary Wong authored
-
Gary Wong authored
-
Mike Hibler authored
-
- 29 May, 2015 5 commits
-
-
Leigh B Stoller authored
-
Leigh B Stoller authored
handling.
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
Leigh B Stoller authored
-
- 28 May, 2015 2 commits
-
-
Leigh B Stoller authored
with tag fragmentation which can causes us to not find any free tags even there are plenty. Add some debugging when we do fail to find a free tag.
-
Leigh B Stoller authored
-