-
jperkin
richlowe: 15961. strip -x is what I'm using on all files
-
andyf
jperkin - that's expected behaviour, isn't it? At least according to strip(1), stripping an archive file stops you being able to use it for linking.
-
andyf
What is calling strip on the .rlib prior to the linking step?
-
andyf
> If strip is executed on a common archive file....in addition to processing the members, strip removes the archive symbol table. The archive symbol table must be restored by executing the ar(1) command with the -s option before the archive can be linked by the ld(1) command.
-
andyf
I'm guessing that GNU strip doesn't do this, and perhaps ours should not either in the presence of '-x'
-
andyf
Either that, or we need to add a sentence against the -x option in strip(1) to clarify.
-
jperkin
andyf: yeh I agree the docs suggest it shouldn't work, I think rich/josh wanted it raised though as GNU strip doesn't break them and it's worth discussing whether we should keep them when using -x
-
jperkin
I already skip *.a so adding *.rlib wasn't a big deal
-
jperkin
in this case stripping is handled by the pkgsrc infrastructure, we automatically ctfconvert and strip any suitable files in the stage install area prior to packaging it up
-
gitomat
[illumos-gate] 15959 race condition in devfs_readdir causes panic -- Andy Fiddaman <illumos⊙fn>
-
neirac
is there a way to slowdown illumos builds?, it seems my computer is getting a thermal shutdown when building illumos-gate, I already set MAX_JOBS=1 are there other options ?
-
danmcd
Honestly, my first instinct is to ask what's wrong with your machine where a non-parallel illumos build is causing thermal failure?
-
danmcd
Beyond that, maybe using prctl(1) can help you reduce its CPU usage, assuming CPU is what's causing your overheading. Is it an HDD that's causing the heat?
-
danmcd
This feels like a HW problem.
-
denk
hide the box from the sunlight, sometimes it helps :)
-
neirac
denk hahha, I tried compiling at night when is freezing here, did not work :)
-
neirac
danmcd yes, I need better thermal paste maybe but illumos is the only build that failed on this machine due thermal shutdown
-
neirac
danmcd yes, should be a hw problem maybe but the only activity that produces this is building gate. I'll try today again maybe underclock the cpu
-
neirac
danmcd, the disk is a good clue as I haven't used this disk to compile anything else, just illumos is using it. Could be a disk issue but I did not see anything in fmadm
-
danmcd
I've had awful problems with spinning-rust overheating on my not-so-great-for-HDD case. Next time I run `zpool scrub` I'll see if the most recently RMAed drive is the problem (or not).
-
denk
you can try to configure the syslog to send messages to another server, it could help to detect a problem
-
gitomat
[illumos-gate] 15958 swap: clean up build -- Toomas Soome <tsoome⊙mc>
-
jbk
hrm...
-
jbk
so in this workload.. mac is pretty frequently resorting to polling (rx), and about 50% of the time polling is failing because the next available packet is larger than the poll amount, would that suggest maybe needing to tune something upstack?
-
jbk
or what would be something to look at?
-
jbk
(the poll is failing approx 10,000x/sec)
-
jclulow
jesus loo
-
jclulow
lol
-
jclulow
that is a lot
-
jbk
yeah
-
jbk
basically there's always a 9k packet available
-
jclulow
At least at face value it feels like there is something missing in how we decide to poll there
-
jbk
but mac is asking for < 9k
-
jbk
well about 50% of the time mac as asking for <9k
-
jclulow
Yeah I would figure out how it comes up with that number
-
jbk
this is a somewhat heavy workload
-
jbk
it is across multiple rings and 2 nics (in an aggr), so the per-ring rate should be lower
-
jbk
(and it's almost all NFS traffic, so not going out to userland)
-
jbk
does ::typedef -r override any existing CTF definitions?
-
rmustacc
jbk: In general ::typedef has its own CTF container that all such type definitions go into.
-
rmustacc
The ::typedef -r just iterates over all types in a file and adds them to said container as well.
-
rmustacc
Then in the various mdb_ctf actions, it'll fall back to that CTF container when looking things up. So for example, when we're doing a general name to type, we'll try to find a ctf type in the target's default, then try to find it in all objects, and then come back to the synthetic container to try to look up a type name.
-
jbk
tsoome: (since you've messed with it the most recently :P) does smatch allow for adding custom checks?
-
jbk
as like extensions
-
jbk
so we could add custom things w/o having to basically do it as a fork (and worry about merging, etc)
-
tsoome
I havent seen any support for that
-
tsoome
I havent really been searching for that either
-
tsoome
but we do have added illumos specific tests already
-
tsoome
check_cmn_err.c for example
-
jbk
ahh ok
-
jbk
i should look at those
-
jbk
(I'm curious if it'd caught my really silly mistake i just found :P)
-
jbk
which was bzero(ptr, sizeof (ptr)) instead of bzero(ptr, sizeof (*ptr))
-
tsoome
not a first error of this kind:)
-
jclulow
jbk: seems a pretty reasonable thing to add
-
jclulow
I think we have actually upstreamed some patches in the past as well
-
jclulow
That one seems pretty generic
-
jbk
tsoome: no, but i did smack my forehead when i figured out that was causing the problem
-
jbk
(thankfully nothing in use yet)
-
jbk
on an unrelated note, has anyone done any real investigations on what i guess you'd call the patterns of mblk_ts we generate?
-
jbk
like i saw a system where we gave the NIC a 10-segment mblk_t for LRO where the segments were tiny, large, tiny, large
-
jbk
(tiny being 30-60 bytes, large being 5k+)
-
jbk
which from most of the NIC drivers i've looked at, ends up being a rather pathological case
-
jbk
though i don't know how often that was happening
-
rmustacc
A bunch of what we give the NIC depends on what the application is doing.
-
rmustacc
And then how retransmits and windows are happening.
-
jbk
related to this a bit.. if I'm using an kernel address as a key in an addr in dtrace, how do i get printa to show it as a hex value instead of int64_t?
-
jbk
show the key
-
jbk
as hex
-
jclulow
I think you have to @%x or something?
-
jbk
from the dtrace book, i thought maybe 'printa("%a %@u", @a)'
-
jbk
but that doesn't seem to do it
-
jbk
unless i'm misunderstanding it
-
jbk
i read it as %@<fmt> is for the value of the aggr
-
jbk
also tried printa("%a", @a)
-
jclulow
try: pfexec dtrace -qn 'BEGIN { @a[0x99] = count(); @a[0xaa] = count(); exit(0); } END { printa("%04x %@u\n", @a); }'
-
jclulow
Critically your aggregation _key_ is the one that's hex, right, so you don't want to use the @ flag with _that_ one
-
jclulow
the @ flag is for the aggregated result value; e.g., the count() etc
-
jbk
there we go..