-
sommerfeld
okay, spent a bunch of time with the sonic tech and got their NOC to agree that the way I have the switch connected between router and ONT is not going to cause trouble (he also fixed the fiber run to match what the original installer should have done).
-
sommerfeld
(and then retrieved our main car from the shop where they spent 3 days determining that it needs to go to the dealer for warranty service)
-
tsoome_
3 days?!
-
jbk
after my vehicle was stolen, it was something like 8-10 weeks since they had cut a wiring harness which messed up the backup camera
-
jbk
and the dealership was never able to fix it 100%
-
sommerfeld
tsoome_: brought it in Monday; they thought they figured out what parts they needed (fuel injectors) and ordered them; they got them Tuesday, tried to install them and discovered they were bad. while recovering from that they double-checked the TSB they were working under and discovered it had been superceded by a new one which said that Honda will fix the problem under warranty....
-
tsoome_
ou. I see...
-
szilard
I am now creating a scenairo, where a disk falls out from a zpool mirror. So I have created to file, representing the 2 disks. Then I have created a zpool using them, specifying "mirror" and mounted it under a specific folder. Then I have attempted to create an important file the following way:
-
szilard
dd if=/dev/random of=/gyak/fontos bs=1M count=10
-
szilard
I have expected a 10 Mb file to be created, but to my surprise it created a 10KB file
-
szilard
It turns out, somehow the /dev/random messes things up, as the command works ok and created a 10MB file if I use /dev/zero
-
szilard
root@omnios:/# dd if=/dev/random of=/test/important bs=1M count=10
-
szilard
10400 bytes (10 KiB) transferred in 0.103425 secs (98 KiB/sec)
-
szilard
root@omnios:/# dd if=/dev/zero of=/test/important bs=1M count=10
-
szilard
10485760 bytes (10 MiB) transferred in 0.002303 secs (4.2 GiB/sec)
-
szilard
Also it seems the RNG throughput is pretty low. Is this som
-
szilard
is this something to be worried about?
-
alanc
oh, I guess the illumos man page for /dev/random doesn't have this bit that's in the Solaris version:
-
alanc
The limitation per read for /dev/random is 1040 bytes. The limit for
-
alanc
/dev/urandom is (128 * 1040).
-
alanc
but also, unless you're generating cryptographic keys or such, you probably want to use /dev/urandom instead of /dev/random anyway
-
sommerfeld
short lived keys are better from /dev/urandom
-
sommerfeld
szilard: /dev/random is for high value random data.
-
danmcd
There is a cogent argument for getting rid of high-quality /dev/random outright. One of the BSDs (Free?) did just thank, linking {.u}random as one.
-
danmcd
I'm not 100% convinced but it is a thing, and sommerfeld details why I'm not 100% convinced.
-
sommerfeld
danmcd: or at least hiding it better
-
danmcd
^^^
-
sommerfeld
if it was named /dev/veryslowrandom we wouldn't have this problem
-
danmcd
I wonder if `crandom` (Cryptographic-random) would work? single-letters probably not a great idea?
-
danmcd
If a good accepted name comes up, the plan could be new-name up, `random` eventually switches from slow to fast once you're convinced enough apps who need the good stuff know its new home.
-
jbk
rmustacc: i think i forgot if you answered this before, is there a topo mod that should enumerate slots for hot pluggable NVMe disks? (if so, which one?)
-
jbk
or does that require a map for the system?
-
jbk
(at some point I'd like to document all of this so people can create maps for their systems if they want)
-
sommerfeld
so I discovered a bit of a gotcha this morning:
illumos.org/issues/17486
-
fenix
→
BUG 17486: dhcpagent gets stuck sending to igc link that's down (New)
-
sommerfeld
there is a behavioral difference between e1000g and igc; if you transmit something on igc when the link is down, it still ends up occupying a tx ring slot.
-
sommerfeld
e1000g uses a different tx interface and explicitly has code to free the packet immediately if the link is down.
-
sommerfeld
I'm still wrapping my head around our diversity of tx paths.
-
sommerfeld
(bigger picture here is that backpressure works its way back through IP to the socket and dhcpagent's sendmsg blocks, stalling DHCP on all interfaces, not just the one that's unplugged)
-
richlowe
does illumos not gitignore *~ on purpose?
-
richlowe
(I noticed it didn't ignore .#* which is sort of the same thing, and went hunting)
-
andyf
I can only give you a "no idea" response. I'd expect it to be a good candidate for the top level .gitignore
-
richlowe
.# might be good unignored as lock files suggest you weren't as done as you thougt, I suppose
-
jbk
sommerfeld: one of my pet projects (to at least proof of concept) is something akin to iflib on fbsd where a lot of the DMA buffer managment + translating of mblk_t<->DMA buffers can be done in one place (on an per driver opt-in basis)
-
jbk
since it seems like that accounts for a pretty decent amount of the potential complexity in a lot of drivers
-
jbk
(as well as potential sources of _significant_ kernel memory usage)
-
jbk
one of the other fun bits is vnics + jumbo frames with many NICs
-
jbk
(watch as the VM system gasps for physically contiguous RAM :P)
-
danmcd
@richlowe I thought emacs didn't create *~ files while inside a git repo? My emacs doesn't.
-
gitomat
[illumos-gate] 17441 isnsadm does not build with libxml2 2.14 -- Andy Fiddaman <illumos⊙fn>
-
richlowe
danmcd: the file I was hunting was a .# lock, I noticed in the process we didn't ignore other similar things
-
danmcd
Ah.
-
richlowe
we don't do vim swp either
-
richlowe
that I can find
-
richlowe
anyway, I thought because the full set seemed missing perhaps there was a reason
-
danmcd
I like seeing vim swp as noise... tells me I'm doing something local.
-
richlowe
see above re: "not as done as you thought"
-
richlowe
:)
-
sommerfeld
jbk: anyhow (as I noted in my bug an hour ago) i40e does a freemsg() in its _ring_tx function if the link isn't transmitting, and igc doesn't.