DocScrutinizer05 changed the topic of #qi-hardware to: Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs and http://irclog.whitequark.org/qi-hardware
<wpwrak> must be an interesting definition of "compatible' :)
Textmode has joined #qi-hardware
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #qi-hardware
<DocScrutinizer05> x86 dma been slower than CPU sw mem-move since 80186 iirc
<DocScrutinizer05> unless CPU does other stuff while DMA completes, it's way more overhead to set up DMA than to do same stuff in software. Even when both in the end reach same transfer rate. And nowadays DMA often is a relic like A20 gate, with CPU copying 10 words in the time where DMA moves one byte
<wpwrak> well, x86 dma is kinda special :)
valhalla has joined #qi-hardware
valhalla_ has quit [Ping timeout: 255 seconds]
nicksydney has quit [Remote host closed the connection]
nicksydney has joined #qi-hardware
jekhor__ has joined #qi-hardware
Textmode has quit [*.net *.split]
Textmode has joined #qi-hardware
luke-jr has quit [Ping timeout: 245 seconds]
luke-jr has joined #qi-hardware
pcercuei has joined #qi-hardware
pcercuei has quit [Ping timeout: 272 seconds]
pcercuei has joined #qi-hardware
jekhor__ has quit [Ping timeout: 240 seconds]
astr has quit [Ping timeout: 245 seconds]
astr has joined #qi-hardware
<nicksydney> i don't read German but after translating it sounds interesting http://www.mikrocontroller.net/topic/331876
<whitequark> oh, that spectrophotometer thing again
<whitequark> it's practically useless
<nicksydney> why useless ?
<nicksydney> $2Million dollar is not useless :)
<whitequark> well, it's useful to the ones producing it, sure
<nicksydney> time will tell whether they deliver or not..if they do deliver and backers are happy than it's worth the $2Million
<nicksydney> wpwrak: it's using BLE too :)
<whitequark> nicksydney: they probably will. it doesn't matter. it's a very expensive toy that you can't really use for anything interesting except "omg an apple"
<larsc> I don't think you need your smartphone to tell an apple and a banna appart ;)
<larsc> banana
freespace has quit [Ping timeout: 252 seconds]
freespace has joined #qi-hardware
Textmode has quit [Ping timeout: 255 seconds]
Textmode has joined #qi-hardware
Textmode has quit [Ping timeout: 255 seconds]
<larsc> apelete: try to find out why and where the DMA based transfers spend there time compared to the PIO method
<larsc> maybe that will tell you why it takes longer
<pcercuei> DMA is working now?
<larsc> 00:36 < apelete> larsc: boot time with mmc dma mode + debug logs = 120s -> http://paste.debian.net/105528/
<larsc> 00:36 < apelete> larsc: boot time with mmc dma mode = 70s -> http://paste.debian.net/105545/
<larsc> 00:36 < apelete> larsc boot time with mmc pio mode = 34s -> http://paste.debian.net/105548/
<larsc> 00:37 < whitequark> wow, pio faster than dma
<larsc> 00:37 < apelete> larsc: it takes twice as long to boot with dma enabled, shouldn't dma be faster than pio ?
Textmode has joined #qi-hardware
<pcercuei> apelete: good job!
wolfspraul has joined #qi-hardware
jekhor__ has joined #qi-hardware
<apelete> pcercuei: thanks :)
<apelete> larsc: I was thinking about using something like bootchart, but I guess it won't be detailed enough to spot dma transfers
<larsc> yes
<apelete> larsc: do you think ftrace could help ?
<pcercuei> apelete: what CPU usage do you have during transfers? Ingenic's MMC driver for jz4770 uses DMA, is slow, and uses a lot the CPU
<apelete> pcercuei: don't know yet, I only looked at the boot log timing
<apelete> I'm going to try a "zcat file >/dev/null" with PIO vs. DMA like wpwrak was suggesting last night
<larsc> apelete: Use something like getrawmonotonic() in the driver and messure the time it takes to transfer one block
jekhor__ has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
* DocScrutinizer05 wonders if they really got a proper mass spectrometer in that SCiO thing. If they do (I seen an early prototype of a sugar cube sized mass spectro several years ago at embedded fair in Nuernberg) then this could become a damn lot more than just "tell apat apples from banana" - it would be Abby's wet dream: Major Mass-Spectrometer in your pocket
<whitequark> DocScrutinizer05: it's NOT a mass spectrometer
<whitequark> you can't have a mass spectrometer without at least a turbomolecular pump, and even if you have, it's more or less useless without a chromatograph
<whitequark> they quite plainly explain that what they have is a simple spectrophotometer
<DocScrutinizer05> the sugar-cube-mass-spectro was a damn smart ting: thanks to micro size they didn't need to evacuate the "chamber" where molecules get "sorted" in an electric field. And also thanks to the tiny size of the thing, really low voltages were sufficient to create the field to accelerate and deviate the molecules
<whitequark> DocScrutinizer05: your sugar-cube thing is NOT a mass-spectrometer
<DocScrutinizer05> oooh, spectrophot is boring useless
<whitequark> it's also a NIR spectrophotometer
<whitequark> exactly
<whitequark> link?
<DocScrutinizer05> BZZZZ you're out
<DocScrutinizer05> you may have a few buzzwords, maybe you find a link by yourself: mass spectrometer; fraunhofer; embedded Nuernberg
<DocScrutinizer05> and a time frame: maybe 6 to 12 years ago
<whitequark> was the first thing I did
<whitequark> no relevant results
<whitequark> link above is the closest one I found
<whitequark> there's some interesting results from DARPA, but what they have is supposed to work on Mars
<whitequark> which means you don't even need to have a rough pump. considerably simpler
<DocScrutinizer05> I talked with the guy and asked him "but how do you evacuate the thing?". He answered "we don't need to, the gap is so small only a few molecules come in anyway, no matter if it's air or the test substance"
<whitequark> interesting
<whitequark> did he publish the result in a journal or something?
<DocScrutinizer05> *shrug*
<whitequark> (that'd make it easier to find)
<DocScrutinizer05> I asked him "but you need high voltages to accelerate and do the deviating field, no?" he answered: " look at this tiny cube. Now figure we have hundreds of electrodes in there, each powered from normal 5V digital logic. We create fields of kV to MV per meter, thanks to the tiny structures"
<whitequark> since it's not evacuated, wouldn't such high potential gradient just cause a discharge?
<whitequark> and even if it would be
<DocScrutinizer05> the gap is so small, there are only a few "dozen" molecules of anything in there at all
<DocScrutinizer05> the space is too narrow to contain anything other than a pretty good vacuum
<DocScrutinizer05> check out the gradients you have in CPU chips
<DocScrutinizer05> horrid
<DocScrutinizer05> when you power a modern chip with 5V instead of 1.2V, it probably has sparks all over the complete die ;-)
<DocScrutinizer05> a trace with high potential and a ground level trace my be separated only a few dozen nanometers
<DocScrutinizer05> may*
<whitequark> hm, you're right
<DocScrutinizer05> 1V difference makes for a gradient of 10E6 to 10E8V/m
FDCX has quit [Remote host closed the connection]
FDCX has joined #qi-hardware
jekhor_ has joined #qi-hardware
jekhor has quit [Ping timeout: 255 seconds]
Textmode has quit [Ping timeout: 255 seconds]
wolfspra1l has joined #qi-hardware
wolfspraul has quit [Quit: leaving]
wolfspra1l has quit [Client Quit]
wolfspraul has joined #qi-hardware
kilae has joined #qi-hardware
pcercuei has quit [Ping timeout: 244 seconds]
jekhor__ has joined #qi-hardware
jekhor_ has quit [Ping timeout: 245 seconds]
jekhor__ has quit [Ping timeout: 240 seconds]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Read error: Connection reset by peer]
jekhor has joined #qi-hardware
jekhor has quit [Ping timeout: 240 seconds]
kilae has quit [Quit: ChatZilla 0.9.90.1 [Firefox 29.0.1/20140506152807]]
wolfspraul has quit [Quit: leaving]
Textmode has joined #qi-hardware