Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Re: perfsonar-tools hard dependency on gnuplot

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Re: perfsonar-tools hard dependency on gnuplot


Chronological Thread 
  • From: Brian Candler <>
  • To: Mark Feit <>, "" <>
  • Subject: Re: [perfsonar-user] Re: perfsonar-tools hard dependency on gnuplot
  • Date: Thu, 18 May 2017 16:29:26 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=pobox.com; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; q=dns; s=sasl; b=LuBlLU KgJCBaoWETZ0Lej+mGmArS9zfDPcnM+pOSOHAsFbV+y4bbl11E+ZmzmTlhgFZ7cW ui+5ArIktU1vAQRIV7mhoKVdBN0zIZnzIHH9lJ34ejmYxF8G8a41JBYbvtsZ/m+4 NvE+4d12zQ84JzGcOG8vs2AxC+mJWdLDDOVBk=
  • Ironport-phdr: 9a23:JTVX6hCzrKr0oF5us1lgUyQJP3N1i/DPJgcQr6AfoPdwSPX6ocbcNUDSrc9gkEXOFd2CrakV1KyP4uuwBiQp2tWoiDg6aptCVhsI2409vjcLJ4q7M3D9N+PgdCcgHc5PBxdP9nC/NlVJSo6lPwWB6nK94iQPFRrhKAF7Ovr6GpLIj8Swyuu+54Dfbx9GiTe5Y75+Ngi6oAHeusQVg4ZpN7o8xAbOrnZUYepd2HlmJUiUnxby58ew+IBs/iFNsP8/9MBOTLv3cb0gQbNXEDopPWY15Nb2tRbYVguA+mEcUmQNnRVWBQXO8Qz3UY3wsiv+sep9xTWaMMjrRr06RTiu86FmQwLzhSwZKzA27n3Yis1ojKJavh2hoQB/w5XJa42RLfZyY7/Rcc8fSWdHQ81fVTFOApmkYoUSEeQBM+ZWoYrzqVQAohSxBxWjCuz0xz9Un3/7x7E23/gvHAzE2gErAtIAsG7TrNXwLKofTPq1zKjSwjXFcvhbxy3y6I7VfRAlv/6MR697fM3KxkU1CwzKlFOQppHhPzyLzOQAqHCb7+17WuKohG8rsR1+oj+qxso1jITCm4Ebykjc+Ch4z4s5P8C0RUF5bNK+DZdcqyKXO5F0T88+W21kpSU3x70ctZO0fCUG0pAqyhzFZ/CadYWD/wjtW/yLIThigXJoYLK/iAi28Uin0uD8TdO70E1OriZfidnMs2wN1wTJ5sifTfty5UCh2DmV2w/P7eFEJFg4lavdK5E/3r49jpsevEvZEiPrl0j7jrWaelg49uWr8ejqYKnqqoeZN4BuiwH+Nqoumta4AeQ9KgUBRHKX9vim273l4EL5RKtFjuctn6nBt5DVPsMbp6GjDwBJ1YYj7g6zDy2639QAgXkHMFVFdQqCj4jnJV7OIez4AOy+g1SqjDdk2erGPrv/DZXRMHTPiqnucqtg60RE0go80chf545ICrEGOP/zQlH+tMbWDh8iNAy0xfzoCM9k2oMDQmKAHLWZPbjWsV+J/eIvP/KMaJEPtDb8Lfgl++DhjWU/mVADYamlw4EbZ26lEfR7cA2lZi/Ji80CWUkHvxZ2GOnkhVyeeT9Ve3uoWa8gvHc2BJ/wSc+JXo23jqeG2i6hW4BNa3puC1aQHG3uepneHfoAdWjadtdsiDIfUr6oUco8zhy0nA7817d9KOfIoGsVuY+1h/Zv4OiGvwsz/Do8JM2b32WAVSkglCUDTjk62K1liVR6wFCTl6N/hqoLRpRo+/pVX1JiZtbnxOtgBoW3A1qZcw==

On 18/05/2017 15:28, Mark Feit wrote:
(Sorry, this ran very long, but I hope it adequately answers your questions
and addresses your concerns.)
Thank you. Lots of detail is definitely good, and I found this very helpful in understanding better what's happening and why.

pScheduler’s database, which is separate from esmond’s, plays two roles.
The first is as a store for anything that needs to persist, which includes
the inventory of available tests, tools and archivers, tasks, the schedule of
each run, the results (for as long as we keep them), queues of results that
need to be archived and a handful of other administrative items.
Does this mean that all test results get put into postgres before being handed over to the archiver?

I can see benefits of that, especially where the archiver is remote and may not always be online or reachable. ISTR that perfsonar had some sort of file-based queue before, and this sounds like a a much more robust way of processing the data.

Everything pScheduler knows will persist in a consistent state across
software upgrades, system crashes and reboots, which means the single ad hoc
test you scheduled for next Wednesday at 3:15 will still run as if nothing
had happened.
I get the impression that a passive node - one which never schedules a test by itself, and never takes the "lead" role - isn't going to be using the database very much, except for keeping an inventory of available test modules (which is essentially static).

Question 4: owamp has its own control protocol on well-known port (861).
Is a perfsonar 4.x node able to run owamp tests to a remote node which
is running owamp-server but *not* running pscheduler or bwctl?

It is, but that’s because the latency test was designed to be
single-participant (as are rtt and trace). I’d have preferred that the test
be two-participant so the OWAMP tool plugin only starts owampd when needed,
but I didn’t make that decision and there are valid reasons for it to work
the way it does.
Thanks, that may be sufficient for me.

Basically I want to be able to install a handful of packages on an existing server to have it participate in some sort of periodic network tests in addition to its normal workload. Installing ~200 packages [^1] is too intrusive. Turning it into a docker host is also too intrusive. Running owamp-server gets me 50% of what I want in a single package.

As a specific example: I have a number of Mac Minis running macOS which are acting as virtual "remote users" for network troubleshooting - they are used as remote desktops. I have added bwctl+owamp+iperf from homebrew, so that I can also schedule tests to these servers from central Perfsonar nodes.

There's no pscheduler in homebrew yet, and it sounds like it might be difficult to do given the number of dependencies.

If BWCTL suits your needs, we’re not going seek out and destroy every copy of
the source code we can find. The license doesn’t prevent anyone from
continuing to build, maintain, use or distribute it.
Sure. I totally get what you're saying about community requirements. I'm probably a very oddball user, compared to the majority who are deploying dedicating testing nodes on their 100G backbones :-)

My concern is how long before bwctl fallback support is stripped out of perfsonar - if that happens, bwctl's utility will be limited to ad-hoc testing.

Having said that, given pscheduler's pluggable architecture, maybe it's not too hard to write a separately-maintained bwctl plugin.

Alternatively, maybe I could write a pscheduler plugin which runs a one-participant test talking to an iperf3 server (i.e. assumes "iperf3 -s" is already running at the far end). This loses the ability of bwctl to prevent two tests being scheduled concurrently, but for occasional tests it might be good enough.

Regards,

Brian.

[^1] I thought I'd measure it properly, starting from a clean ubuntu 16.04 lxd container, and adding the perfsonar-jessie-release repository.

"apt-get install perfsonar-tools pscheduler-server" wants to install 259 new packages, using 409MB of disk space.

"apt-get install perfsonar-tools pscheduler-server --no-install-recommends" wants to install 182 new packages, using 311MB of disk space. This still includes x11-common, and many qt and gtk libraries. Maybe getting rid of the hard dependency on gnuplut would help, which is where this thread started :-)



Archive powered by MHonArc 2.6.19.

Top of Page