perfsonar-user - Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem
Subject: perfSONAR User Q&A and Other Discussion
List archive
Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem
Chronological Thread
- From: Hyojoon Kim <>
- To: "" <>
- Cc: "" <>
- Subject: Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem
- Date: Fri, 11 Sep 2015 21:06:03 +0000
- Accept-language: en-US
Hello Brian & all,
I just to give some update on this matter (and to leave some record). This is still an ongoing investigation, but I hope it gives out some useful information and insight especially for future developments in low-cost perfSONAR nodes.
1. Based on some investigation, it seems there are too much I/O going on: syslogd and systemd-journald are doing a lot of I/O. Big servers can handle this, but probably not a relatively weak Cubox. I assume no one saw this problem on Cubox because
no one actually have put this into production, and did not run enough number of tests on it constantly over a period of time. On our setup, we are seeing a lot of syslog messages from "owampd, bwctld, and powstream” in “/var/log/messages”, sometimes up to
30-40 syslog messages per second, constantly.
2. Our next step was to reconfigure the systemd-journald to write to the volatile memory instead of to the microSD storage (I did not want to lose syslogs, so journald was my next target). Then at least the writing by journald will be faster,
so will not get stuck on I/O write_wait so much, which often happened. This will make things harder to debug when the Cubox reboots, but we do have syslog, so... It seemed to solve the problem for a while, before...
3. There was a serious bug in NetworkManager in old Redhat 7/Fedora 20+: NetworkManager abnormally kills the DHCP client after systemd-journald process is restarted
(https://bugzilla.gnome.org/show_bug.cgi?id=735962), and there is no official fix for Fedora 20 and below. As DHCP client is killed, the IP address of the Cubox is lost at
some point, and then entirely loses network connection. Not even pingable.
4. Our current workaround is to just do a *reboot* instead of doing “systemctl restart systemd-journald” when we have to restart the systemd-journald process…
5. As perfSONAR processes publish a lot of logs to rsyslogd, I also modified the rsyslogd configuration to discard all logs from perfSONAR (owampd seems to spit to local5, based on "/etc/owampd/owampd.conf”). It would have been better if I can
modify the “level” of logs to save (e.g., just log WARN and FATAL logs).
6. I see that perfSONAR 3.4.13-1 had a fix so that it is possible to configure owampd.conf to set the logging level for syslogs (https://github.com/perfsonar/owamp/commit/22c5e47fbf09219ebec3396132d79a767df00612).
However, as the perfCubes we have use the old pre-made image that has an older version of perfSONAR, I guess this cannot be applied.
We still have to see if this solves our problem with perfCubes. I will post later if I have updates. Please correct me if I assessed something wrong. Also let me know if anyone has a better suggestion.
Hope this helps anyone out there.
Thanks,
Joon
|
- [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/03/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Brian Tierney, 09/04/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/11/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Brian Tierney, 09/14/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/16/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Mark Feit, 09/16/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/16/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Mark Feit, 09/17/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/17/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/16/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Mark Feit, 09/16/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/16/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Brian Tierney, 09/14/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Hyojoon Kim, 09/11/2015
- Re: [perfsonar-user] perfCube (Cubox-i4Pro with 16G microSD) packet loss problem, Brian Tierney, 09/04/2015
Archive powered by MHonArc 2.6.16.