sb0 changed the topic of #m-labs to: ARTIQ, Migen, MiSoC, Mixxeo & other M-Labs projects :: fka #milkymist :: Logs http://irclog.whitequark.org/m-labs
_whitelogger has joined #m-labs
<whitequark> sb0: hm, so idle/startup kernens seem to be basically broken right now
<GitHub> [artiq] whitequark closed issue #710: artiq_compile of kernel using print() should error out https://github.com/m-labs/artiq/issues/710
<GitHub> [artiq] whitequark opened issue #716: Idle/startup kernels are broken https://github.com/m-labs/artiq/issues/716
rohitksingh_work has joined #m-labs
<bb-m-labs> build #513 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/513
<bb-m-labs> build #456 of artiq-win64-test is complete: Warnings [warnings python_unittest] Build details are at http://buildbot.m-labs.hk/builders/artiq-win64-test/builds/456 blamelist: whitequark <whitequark@whitequark.org>
<bb-m-labs> build #1454 of artiq is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq/builds/1454
rohitksingh_wor1 has joined #m-labs
rohitksingh_work has quit [Ping timeout: 252 seconds]
rohitksingh_work has joined #m-labs
rohitksingh_wor1 has quit [Ping timeout: 255 seconds]
Ultrasauce has quit [Ping timeout: 240 seconds]
Ultrasauce has joined #m-labs
rohitksingh_wor1 has joined #m-labs
rohitksingh_work has quit [Ping timeout: 255 seconds]
rohitksingh_work has joined #m-labs
rohitksingh_wor1 has quit [Ping timeout: 240 seconds]
rohitksingh_work has quit [Quit: Leaving.]
rohitksingh_work has joined #m-labs
rohitksingh_wor1 has joined #m-labs
rohitksingh_work has quit [Ping timeout: 255 seconds]
rohitksingh_work has joined #m-labs
rohitksingh_wor1 has quit [Ping timeout: 255 seconds]
rohitksingh_work has quit [Ping timeout: 240 seconds]
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
rohitksingh_work has joined #m-labs
bb-m-labs has joined #m-labs
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
bb-m-labs has joined #m-labs
<GitHub> [artiq] cjbe commented on issue #712: In addition, the replay function is very slow - the run-time of `self.core_dma.replay("test")` is ~1.3 ms! This is 2 or 3 orders of magnitude longer than certain DMA sequence durations. https://github.com/m-labs/artiq/issues/712#issuecomment-293218102
rohitksingh_wor1 has joined #m-labs
rohitksingh_work has quit [Ping timeout: 255 seconds]
rohitksingh_wor1 has quit [Read error: Connection reset by peer]
rohitksingh has joined #m-labs
benSTMax has joined #m-labs
benSTMax has quit [Quit: Page closed]
_whitelogger has joined #m-labs
<GitHub> [artiq] whitequark commented on issue #712: That stems out of a similar design decision--every DMA replay first requests the address from the comms CPU, which performs a cache flush (even two, really). I do not see any especially good way to work around that. It might be possible to write a hack. https://github.com/m-labs/artiq/issues/712#issuecomment-293307368
<GitHub> [artiq] cjbe commented on issue #712: Sharing recorded DMA sequences between kernel runs is a much lower priority to me than having fast DMA recording and low-latency DMA playback.... https://github.com/m-labs/artiq/issues/712#issuecomment-293308553
<GitHub> [artiq] whitequark commented on issue #712: > Would removing the persistance of DMA sequences between kernels allow us to solve these speed issues?... https://github.com/m-labs/artiq/issues/712#issuecomment-293310243
<GitHub> [artiq] cjbe commented on issue #712: Assuming that the time taken to record a DMA sequence is comparable to the time taken to directly output these events, these do not seem like problematic issues - this means that for any sequence fragment that one wants to replay more than a handful of times per kernel, it is cheaper to record it and play it back than it is to directly output the events each time.... https://github.com/m-labs/artiq/issues/712#i
<GitHub> [artiq] whitequark commented on issue #712: > Assuming that the time taken to record a DMA sequence is comparable to the time taken to directly output these events... https://github.com/m-labs/artiq/issues/712#issuecomment-293314778
<sb0> whitequark, can't the kernel CPU access the sequence name → DMA address directly in memory?
<sb0> it doesn't really need to ask the comms CPU
<sb0> that structure is also modified only during calls to record() or delete() so clearing the caches there only is sufficient
<GitHub> [artiq] sbourdeauducq pushed 1 new commit to release-2: https://github.com/m-labs/artiq/commit/90e2e22765d005c4fa9cbeba5674e4b4f041e86d
<GitHub> artiq/release-2 90e2e22 whitequark: artiq_compile: make print() write to core log, not an invalid op....
<whitequark> sb0: no, it cannot
<sb0> why?
<whitequark> if it has to insert a record, it needs access to the comms CPU allocator, to which it does not have exclusive access
<sb0> why would it insert a record during playback?
<whitequark> it wouldn't
<sb0> ok, so doing what I propose would solve the playback performance issue
<whitequark> that wouldn't solve the record performance issue
<sb0> yes, for the record performance issue, preparing batches and sending them to the comms CPU sounds like the right option, as discussed before
<whitequark> that's still not "approximately as fast as just outputting to RTIO" though
<whitequark> which is what cjbe requests
<GitHub> [artiq] sbourdeauducq pushed 2 new commits to master: https://github.com/m-labs/artiq/compare/296dc3b0c42d...c5cd77f1775b
<GitHub> artiq/master c5cd77f Sebastien Bourdeauducq: manual: add DRTIO intro
<GitHub> artiq/master 598533a Sebastien Bourdeauducq: manual: add DMA to tutorial
<sb0> whitequark, the buildbot VMs didn't restart automatically
<sb0> well the windows ones didn't
<sb0> $ sudo xl create /var/vms/win7-buildbot.cfg
<sb0> Parsing config from /var/vms/win7-buildbot.cfg
<sb0> libxl: error: libxl_create.c:881:initiate_domain_create: cannot make domain: -3
<sb0> libxl: error: libxl_create.c:537:libxl__domain_make: domain creation fail: Invalid argument
<whitequark> hm
<sb0> mh, is there some BIOS option that needs to be enabled again?
<whitequark> did it reset setup? if so yes
<whitequark> enable VT-x and VT-d
<sb0> yes, it could have done some idiotic thing like that
<sb0> sigh
<sb0> instead of making things just work and booting, the ASUS BIOS blocked the machine until I connected a screen and keyboard and entered the BIOS
<sb0> then after that it served me the UEFI bullshit until I disabled secure boot
<whitequark> oh, it sounds like it reset setup precisely because you changed CPU
<sb0> yes, sounds like it
<whitequark> maybe it's not certain in its ability to boot again without flipping all features to default
<sb0> the message was something like "New CPU installed, press F1 to enter BIOS"
<whitequark> yes I've seen the screen copy
<sb0> I sent you the UEFI one, there was another one before
<whitequark> oh
<sb0> anyway, I'll enable the BIOS virtualization options next time
<whitequark> are you not in the lab?
<sb0> not anymore
<whitequark> ok
<whitequark> this will break our tests
<sb0> whitequark, are you installing something?
<sb0> E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
<whitequark> yes, I'm updating the syste
<whitequark> m
<whitequark> it's not been updated in ages, not sure why unattended-upgrades failed
<sb0> well is there any chance I can enable the BIOS option via efivar?
<whitequark> it requires reboot
<whitequark> also, do not mess with efivarfs
<sb0> yes, but reboot can be done remotely too
<whitequark> there is a chance that you will irreparably break the motherboard
<whitequark> well, unless you want to manually tinker with the SPI flash or something.
<whitequark> on top of that, setup is buggy enough, and there is no guarantee it actually interperts the values in efivarfs the same way as linux
<whitequark> for example, on this laptop, they absolutely do not agree, and writing to efivarfs directly just messes them up
<sb0> ok
<bb-m-labs> build #514 of artiq-board is complete: Success [build successful] Build details are at http://buildbot.m-labs.hk/builders/artiq-board/builds/514
<sb0> so, the build time from the bitstream went from 19:41 to 13:37
<sb0> *for
<whitequark> that's quite a bit better
<whitequark> is this a top-of-the-line CPU?
<sb0> i7-4771
<sb0> the fastest you can put on that mobo without reflashing the BIOS
<whitequark> excellent
<GitHub> [artiq] hartytp commented on issue #712: > @cjbe Sharing recorded DMA sequences between kernel runs is a much lower priority to me than having fast DMA recording and low-latency DMA playback.... https://github.com/m-labs/artiq/issues/712#issuecomment-293337774
<GitHub> [artiq] cjbe commented on issue #712: I think sharing state between different experiments and different kernels is a pain to manage for the user. I think it is much better for each kernel to explictly record the sequences it needs. The only reason not to do this is if there is too much overhead, either in the compile / upload step, or the run-time of the kernel DMA recording is too large. https://github.com/m-labs/artiq/issues/712#issuecomment-2933
bb-m-labs has quit [Quit: buildmaster reconfigured: bot disconnecting]
<GitHub> [artiq] jordens commented on issue #712: Veto.... https://github.com/m-labs/artiq/issues/712#issuecomment-293345059
<sb0> whitequark, how long does it take to look up the DMA address given the name?
<sb0> (just for the data structure access)
<whitequark> it's a btreemap, so depends on how large the map is
<GitHub> [artiq] klickverbot commented on issue #709: A shot in the dark without even looking at the IR: Does the compiler use `[10240 x i32]` internally somewhere as a value type, for example when passing parameters, or to `load` from and store into another pointer? We had similar issues in LDC a while back; `[a x b]` is rather deeply ingrained as meaning "a collection of registers" in LLVM, and loading to then store to another pointer, as mentioned before, wi
rohitksingh has quit [Quit: Leaving.]
benSTMax has joined #m-labs
bb-m-labs has joined #m-labs
<whitequark> sb0: ok, lab. is updated
rohitksingh has joined #m-labs
rohitksingh has quit [Quit: Leaving.]
mumptai has joined #m-labs
<whitequark> sb0: [26516.818046] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 5 ep 2 with no TDs queued?
<whitequark> can we turn that message off somehow
<whitequark> sb0: also, I've confirmed VT-x and VT-d are disabled in BIOS
<whitequark> $ sudo xl dmesg
benSTMax has quit [Quit: Page closed]
mumptai has quit [Quit: Verlassend]
<whitequark> sb0: ha, CRC Handbook has a section on bayard-alpert gauges
<whitequark> we should get one for the lab too
<whitequark> it's ridiculously useful
<ohsix> that book is cool
<ohsix> there's an engineering mini notebook that i dig that is similar, but that handbook looks like the mini notebook x 500
<ohsix> doh that's not the name, so much for how much i love it; https://en.wikipedia.org/wiki/Pocket_Ref
<ohsix> it's very good, iirc it even has information about cpr and medical care in a lab/diy setting