-
gitomat
[illumos-gate] 14548 snoop has strange bedfellows -- Joshua M. Clulow <josh⊙so>
-
mpana
hey gang, just curios if anyone knows if its possible to modify on the fly the zfs_arc_max? we realised that some of our problems are due to the system running out of memory (even though the vm's only account for 90Gb of 256GB, roughly 150Gb are being used by zfs arch cache. When a new provision is attempted a dladm process will hang (because i40e required 8gb per vnic of non-contigious memory; at least thats our understanding so far) ... thanks
-
mpana
for the help!
-
GeorgePocky
Hi all. I have a short question regarding ZFS: is it possible to force a release of the used used memory by ARC Cache without risking data corruption? On our systems, we see that ZFS File Data is using up to 57% of RAM.
-
sensille
GeorgePocky: you can try zinject -a
-
andyf
GeorgePocky - create a large file in /tmp - something like `mkfile 100g /tmp/fill && rm /tmp/fill`
-
andyf
However, generally it is better that memory is being used for ARC than sitting spare - the system will release it when there is memory pressure
-
GeorgePocky
in theory yes, it should be released, but from what i saw, RAM usage is 97.3% used and memory isn't filled up
-
GeorgePocky
and in combination with i40 10G network cards when if you need to create a vnic it will use up to 8GB of contiguous RAM, all the zones running (kvm/bhyve) will start to have intermittend access issues
-
andyf
Ouch, that's a big overhead for a VNIC. Which distribution are you using?
-
GeorgePocky
sensille: It looks like it will not release also the memory used by ZFS File Data on the system
-
GeorgePocky
andyf: we are using smartos
-
GeorgePocky
and yes, large file creation in /tmp does the trick
-
neuroserve
GeorgePocky : which PI are you using?
-
GeorgePocky
thanks for the idea!
-
andyf
I used to have to do that to boot a new VM when the system had been up a while, but there were changes that improved things there a lot and I haven't had to do it since. I don't have 10G network cards though.
-
sensille
physically contiguous RAM ... the i40e driver really needs to be improved
-
GeorgePocky
multiple PIs, even the latest ( 20220825T001415Z)
-
tsoome
If you are starting memory hogs (like bhyve etc), then you should have max arc setting in place to reserve memory for those apps.
-
tsoome
With default, the arc should still get freed, but this will take time...
-
Smithx10
In illumos, how can I admin down up an aggregation?
-
Smithx10
I have 2 interfaces in the down state apart of the same aggr... it was flapping in dmesg
-
andyf
tsoome - bhyve has the memory reservoir facility. I'd use that before starting to tune the ZFS ARC.
-
andyf
i have some VMs that have a reservation, so they always boot
-
andyf
...straight away, without having to wait for ARC reclaim
-
tsoome
ou
-
tsoome
Smithx10 you want to check why interfaces are down, you may need to use fmadm to clear them
-
Smithx10
Would I see them down in fmadm faulty?
-
tsoome
if they are faulted, it would mean they are disabled, yes
-
Smithx10
I only have a "Oct 17 2020 3c342e58-1556-c667-d207-fcfda8c8b835 SUNOS-8000-J0 Major"
-
tsoome
hm, and dladm show-phys ?
-
Smithx10
-
tsoome
I see. that fibre?
-
Smithx10
yea
-
Smithx10
The probem in my situation is, I have a network team at work "_"
-
tsoome
that may be problem, indeed;)
-
tsoome
both links down at the same time hints about human error
-
Smithx10
So I'm just trying to make sure the OS isn't sitting in some weird spot waiting for me to clear something or reset the aggregation or something
-
Smithx10
Yea... at my job.... they seem to replace cables at an extremely high rate (and never test them after pulling them) lol
-
tsoome
aggregation should get online as soon as you have physical link
-
Smithx10
I can understand why folks end up on the Public Cloud :(
-
tsoome
I'd get physical inspection first - are cables attached, what is the status of leds
-
Smithx10
Cool, I sent that e-mail / ticket in already
-
tsoome
from that log, I'd say your ixgbe1 was offline before
-
tsoome
and then something did happen about ixgbe3 - and as you see, when ixgbe3 is online, aggregation is also "up"
-
Smithx10
yeah
-
danmcd
BTW your only fmadm faulty is for overlay, which fires whenever your headnode reboots and your CN does not.
-
danmcd
Smithx10: ^^^
-
danmcd
And ixgbe1 is Just Down... (and yeah I remember your "network team" stories. WTF they aren't together with systems is _beyond_ me.)
-
Smithx10
Thanks danmcd
-
danmcd
(When I flush Kebecloud's nodes, I reboot all the CNs first, then once they're happy, I reboot the HN, and once the HN's happy I `fmadm clear ...` on the CNs.)
-
papertigers
andyf: did the reservoir facility ever get added to the omnios bhyve brand / zadm? Or did you just set that up manually for a few VMs
-
andyf
Yes, it's in the omnios brand - I think it made it into r151042
-
andyf
-
papertigers
ty
-
Smithx10
Folks from the DC are thinking the optics are getting too hot. Do we have a way to measure an interfaces temp?
-
rmustacc
Manually, but not automatically.
-
rmustacc
I never rigged that part of the transceiver parsing up, sorry.
-
rmustacc
But you can manually dump it and figure it out.
-
rmustacc
Along with getting the other errors.
-
rmustacc
What's the transceiver? That should be in topo.
-
gitomat
[illumos-gate] 15036 portfs wears inadequate pollcache disguise -- Patrick Mooney <pmooney⊙pc>
-
Smithx10
I'm not too familiar with fmtopo, what should I run?
-
Smithx10
-
danmcd
Run /usr/lib/fm/fmd/fmtopo -V $FMRI , where one of those FMRIs in your gist should be used for $FMRI.
-
danmcd
The -V will expand the goodies, and likely give you some answers.
-
rmustacc
Just leave out the $FMRI and gist that?
-
rmustacc
Or run /usr/lib/dl/dltraninfo -v
-
Smithx10
-
Smithx10
-
Smithx10
I don't see any temp info in -V, but I assume there is a switch for dumping all of the data?
-
danmcd
It's like your transceivers aren't reporting temperature (at least by my reading... rmustacc may see something I'm missing).
-
rmustacc
danmcd: As I mentioned the parsing isn't there for diagnostic info there.
-
rmustacc
Based on the transceiver type we can look up where in the raw info it'll be and get it manually.
-
rmustacc
If you use -x, you'll get the raw hex and we ca go look at the spec.
-
Smithx10
-
rmustacc
I mean -x to dltraninfo, not topo.
-
rmustacc
That dumps the raw hex and you can go double check the specs on what offsets that'll be at.
-
Smithx10
Where do you usually grab the spec from?
-
rmustacc
In this case you want SFF-8472.
-
rmustacc
But get the dltraninfo -x and we'll take it apart.
-
Smithx10
-
rmustacc
Smithx10: So by my read of the data and SFF-8472 that doesn't support digital monitoring.
-
Smithx10
ahhh ok
-
rmustacc
So it's possible it's just lying, but because it doesn't claim it does implement the monitoring of SFF-8472 we don't try to get that i2c page.
-
Smithx10
The output of dltraninfo -x, what kind of table / or how would I know how to parse this?
-
rmustacc
Because this is an SFP+/SFP28 device you would go to SFF-8472 which is publicly available and look at the bytes.
-
rmustacc
That's what I did internally in the nvlist.
-
yuripv
is there a way for svcs(1) to list ALL dependencies for a given service? -d seems to list only ones explicitly listed in the manifest, i would like it to show dependencies of dependencies too (i hope that made sense)
-
jclulow
yuripv: I think, today, you would need to recurse yourself
-
jclulow
But that would be a neat RFE, a "svcs -rd" that was able to create a ptree-like output
-
yuripv
ok, or is there another way of checking if some service is supposed to start after some other? need to check if my service starts after identity:node
-
Smithx10
rmustacc: We have this optic in a linux machine and I read here:
docs.nvidia.com/networking-ethernet…-hardware-information-using-ethtool that "Optical diagnostics support" would come back with yes, but I guess thats where the optic may be lying
-
jclulow
yuripv: Do you want to know if it _should_ start after, or if it _did_ start after
-
Smithx10
ethtool on linux didn't return a "Optical diagnostics support " field at all with ethtool -m
-
yuripv
both, i guess :) just seeing as if my service is starting too early, and wondering if i should just add explicit dependency here
-
rmustacc
Smithx10: So if it did have support then I wouldn't expect the field not to exist.
-
Smithx10
yea
-
Smithx10
:( shucks
-
rmustacc
So we are seeing the same thing from the transceiver.
-
rmustacc
Sorry.
-
Smithx10
I'm wondering how valuable this info is
-
Smithx10
Maybe in the future we should by optics that do DOM
-
jclulow
yuripv: svcprop '*' | awk '$1 ~ /start_method_timestamp$/ { gsub("/:properties.*", "", $1); print $3, $1 }'
-
rmustacc
There are definitely ones that don't implement the digital monitoring interface. While traditionally most did that are active optical stuff, a lot don't.
-
jclulow
a list of start method timestamps might be interesting to you
-
yuripv
jclulow: great, thank you!
-
rmustacc
Smithx10: I also think because this is an active optical cable, it's less likely to have that unfortunately.
-
jclulow
yuripv: They're probably not sorted, btw; you'll need something that can sort decimals; e.g., I think I have used "gsort -g" because it does ~floats
-
yuripv
it's only 2 services, so i can compare the numbers myself; but thanks for the hint
-
Smithx10
Thanks Again rmustacc Much Appreciated !
-
gitomat
[illumos-gate] 15056 Missing pcie cap leads to panic in pcie_fabric_feature_scan() -- Robert Mustacchi <rm⊙fo>