shinohai: pobrecito gribble disconnects again
jhvh1: asciilifeform: The operation succeeded.
Framedragger: re. fs nodes, couldn't sleep + not sure if this makes sense, so just throwing these out - barebones super simplistic (function is `n_objects_to_store ^ 1 / folder_depth`) plots showing expected average number of nodes per folder (assumptions are no bias in hashspace and also equal share of hash bits per folder level) - it may not be intuitive how low the averages are until you look:
Framedragger: (really kindergarten level simple but wanted to see this myself, could be useful for reference - unless it's incorrect..)
Framedragger: << (obviously these'd be more useful with actual empirical numbers of average/median seek times, writes, seek/write as things get congested, etc.)
trinque: BingoBoingo: the guy looks miserable
trinque: sandpaper on the cock will do that.
trinque: Le mariage de Macron est la publicité parfaite pour un taux de natalité non existant en France << l0l
trinque suffered under an RDF believer for about 4 years
mircea_popescu: is there such a thing as an indian who isn't a total shitbag ?
mircea_popescu: Framedragger i don't get it, you graphed some functions ? or ?
☟︎ Framedragger: mircea_popescu: basically, and that's strictly it - because i couldn't intuitively wrap my head around the fact that average number of nodes per specific folder would be _really_ low if depth is say more than 3. still weird in my head, but yeah.
mircea_popescu: dude these women presidents aren't doing so well after all ? brazil, korea... who has one left ? impeach the queen ?
mircea_popescu: obviously argentina's ex whore is going to jail as well...
mircea_popescu: you'd be surprised how many people are fixated on this age business.
BingoBoingo: ^ Some idiot said Qntra was a "Pro-China" rag
mircea_popescu: (he means republic of china, yes, not the communist fake state ?)
a111: Logged on 2017-03-10 03:43 asciilifeform: mircea_popescu: i know a handful
BingoBoingo: <mircea_popescu> (he means republic of china, yes, not the communist fake state ?) << Well they both lost
mod6: alf was it mentioned that some of these recent submission need regrinding?
mod6: asciilifeform_blackhole_odometer.vpatch, asciilifeform_blocktimer.vpatch, and asciilifeform_goodbye_pingers_fixed.vpatch all have the same input hash.
mod6: which is fine, if you only use one of the three above, but not good if you try to use >1 of them.
mod6: no worries. shinohai was building, asked me to double check just to be sure. thought it was worth the mention to future spelunkers.
mod6: no sweat. just putting up a signpost for future spelunkers.
mod6: in the spirit of experimentation, it makes sense that one experiment would not necessairly contain the same changes as a different experiment.
mod6: and would have the same input hashes.
trinque: mod6: the thing should really have one of those google AIs to figure out which goes with which
trinque: I'm sure they have a cloud API for that
a111: Logged on 2017-03-09 18:23 trinque: I said to him "students may learn swordplay but may not tell us the fork in their hands is a sword"
lobbes: I'm still in the process of climbing out of the primordial soup, so to speak. 'had to start somewhere, etc'; Though I realize I will need to flamethrow my own creations soon enough and rebuild once I 'evolve' a bit more. But all in due time
trinque: cool, later in the thread I'm convinced the whole thing is reasonable
lobbes: sure, but from what I can observe, your own deedbot (and others' log-o-trons) appear to operate in a more sane manner. I guess I'm just saying I have much to learn
trinque: happy to help when you feel like trying it out.
trinque: in fact, I'll go ahead and get the logbot-service thing released now, since it's been running the wot & voicing for maybe a month now
lobbes: trinque: ah thank you!
ben_vulpes: HAVE YE VISITED MOUNT DILDO FORGE, NEWCOMER?
phf: asciilifeform: there's several sources of vlm floating around, some of them improved upon by independent hackers (in the direct meaning of the word improve)
phf: asciilifeform: if you spent time with it though, you'll realize that it's an assembly dump of the original emulator written for alpha, and the "emulator" part is actually a combination of c and lisp necessary to ~translate original alpha assembly into portable-ish c~
☟︎☟︎ phf: i've spent some time with it before, improving mac os support, and working out crash issues
phf: i don't quite remember, what goes where, but i'm pretty sure the emulator.c that you linked is a frankenstein that primarily emulates alpha, though it has some signifcant knowledge about what the alpha emulator does, so it's not quite qemu, but something a lot scarrier
☟︎ phf: there's a translation code (in lisp) that takes that alpha body and spits out c equilvalent of the BIS ... SUBL ... etc. sequence
phf: lasciate ogne speranza, voi ch'intrate
davout: other than that nailed it
mircea_popescu: I was with ben_vulpes at dildo forge, knee deep in girl spunk
mircea_popescu: phf the story of alpha is perhaps one of the best illustrations of the fundamentally anti-intellectual stance and calling of the female state. 1980s true 64 bit architecture, well supported (openvms started there, ffs, go revolutionize shit in 2015 with the remnants of 1980s tech). "sold" to fiorina's company, never heard from again, because gotta prop up intel.
☟︎ mircea_popescu: phf it's ogni/ch'entrate not ogne / ch'intrate, btw :D
mircea_popescu: you totally gotta to eat more varied cunt, i can tell by your vowels your gyneceum's monocultural!
a111: Logged on 2017-03-10 10:39 phf: asciilifeform: if you spent time with it though, you'll realize that it's an assembly dump of the original emulator written for alpha, and the "emulator" part is actually a combination of c and lisp necessary to ~translate original alpha assembly into portable-ish c~
a111: Logged on 2017-03-10 10:39 phf: asciilifeform: if you spent time with it though, you'll realize that it's an assembly dump of the original emulator written for alpha, and the "emulator" part is actually a combination of c and lisp necessary to ~translate original alpha assembly into portable-ish c~
a111: Logged on 2017-03-10 10:43 phf: i don't quite remember, what goes where, but i'm pretty sure the emulator.c that you linked is a frankenstein that primarily emulates alpha, though it has some signifcant knowledge about what the alpha emulator does, so it's not quite qemu, but something a lot scarrier
a111: Logged on 2017-03-10 12:25 mircea_popescu: phf the story of alpha is perhaps one of the best illustrations of the fundamentally anti-intellectual stance and calling of the female state. 1980s true 64 bit architecture, well supported (openvms started there, ffs, go revolutionize shit in 2015 with the remnants of 1980s tech). "sold" to fiorina's company, never heard from again, because gotta prop up intel.
mircea_popescu: yeah, i recall it wasn't ever actually deployed in any meaningful sense. ielbrus.
mircea_popescu: "a technology so powerful, so secret, it needn't even exist!"
mircea_popescu: well, anyway, i suppose it is a good thing the intelligent people involved could you know, pursue their own self-determined will and etcetera. who knows how many glorious flights of amateur rc airplanes this obviously reasonable arrangement gave the world!
mircea_popescu: not to mention of all the truly priceless fishing and whatnot else, history hasn't recorded.
Framedragger: i like my rc airplanes. "the will of history necessitates you to X" has a marx'ified hegelian vibe :p
☟︎☟︎☟︎ mircea_popescu: adolescence is the perceiving of boundless possibilities and maturity comes with the comprehension of the bounds.
mircea_popescu: but, as the eternally mentioned bottle well informs : the above has any merit only inasmuch it rankles the subject himself. otherwise it's nothing ; and besides there's many ways to, in brick pollitt's words, "hear that little click"
mircea_popescu: so all is not lost! stupor abounds and thanks to the ever advancing technologee is now cheaper than ever!
☟︎ a111: Logged on 2017-03-10 15:02 mircea_popescu: so all is not lost! stupor abounds and thanks to the ever advancing technologee is now cheaper than ever!
mircea_popescu: yeah, it's not lost on me that i'm the loudest preacher of continence in a cloister of monks muchly more restrained and disciplined than myself.
mircea_popescu: i suppose that's why they have that "excluding present company" device.
trinque: asciilifeform: getting rejected by dulap with that ssh key I gave ya.
a111: Logged on 2017-03-10 03:46 mircea_popescu: Framedragger i don't get it, you graphed some functions ? or ?
Framedragger: getting ~4000-7000ns for symlink resolution to real path for a 1mn symlink dir structure, e.g.
Framedragger spent longer than wants to admit sorting out his heap and valgrind'ing. too much python is bad for a person
Framedragger: orly? this is *ns* (10^-9), mind you. hm. and this is just resolution of path with single symlink in it
Framedragger: note, it's just some additional syscalls, re docker
Framedragger: will get a way to test real disk soon, didn't want to run on personal trashy PC, hence shitty server
Framedragger: what i want to do later when i find time is, actually read file, too, of course.
Framedragger: for now, just generated 1mn symlinks with names corresponding to transaction hash hex.
Framedragger: so the 'matching' (index lookup) is the 99% here, right?
Framedragger: (yeah btw, just ftr, symlink *creation* under populated dir structure (`ln -s files_f1/block35461.txt dc/dc89c1f2b58909d3814b250a731a9b9b791b092759553e3ba6579ffaad3a7565`) is slow. however, the creation was done using shellscript, need to move to c to be able to actually profile with precision.)
☟︎ Framedragger: aha, right! so it's basically a (small) hashtable.
Framedragger: trinque: it's just a kindergarten way of wrapping up some syscalls. will obviously benchmark outside it later. i wasn't completely certain that my tool wouldn't trash the host fs. :)
Framedragger: asciilifeform: hmm, very nice. i suppose it's as close to fixed-length as is possible given current bitcoin
Framedragger: asciilifeform: wait, what is "block index"? just the integer denoting block number?
Framedragger: why the need for "the machine might have to try 2 or 3 blocks before it finds tx" then? and if so, then no guarantee of only 1 seek?
Framedragger: oh i finally understood, literally all there is when one seeks to location 3ec455a2 is a list of block numbers. (or single block number.)
Framedragger: this is quite nice, and as you say, seek operation already gives a small chunk which should cover most/all tx for current state of affairs (total number of transactions)...
Framedragger: is this the first time you articulated this approach here? i think that's the best on can have for fs-tx-db
Framedragger: at least i have the excuse of not having looked at the bdb problem / staying away from trb for the time being :p
Framedragger: here i have an ssd seek profiler which just needs root
Framedragger: have separate service taking care of that? i mean, kernel driver is this kind of 'externality', too (and also ring0)
Framedragger: bear with my slowness, can you clarify how it looks like if there's a collision in the initial lookup?
Framedragger: right! ahh that's nice. (so just to clarify, the 1024 byte block trick wouldn't work if there's a collision (unless additional budget / w/e))
Framedragger: yeah, given actual tx amounts.. 250mn vs. 2^32
Framedragger: well *that sounds like a very decent idea*. :)
Framedragger: yeah i forget sometimes. fixed block length is nice for this...
Framedragger: ahh, yeah okay, back-to-back you mean exactly that, not having to allocate 1MB per block.
Framedragger: (i see how good it is to be aware of how actual disks read data here. some theoretician would propose a pointer-exact-location scheme instead...)
Framedragger: it's a really Good Thing that the hashing function which spits out transaction hashes gives *uniform distribution*. no congestion / too many collisions expected, and this scheme leverages that.
Framedragger: i guess one can imagine a single sequence of tx then, simply.
Framedragger: yeah that's one reason i'm not too attracted to trb, tbh, the amount of sewage gruntwork required to decouple shit from the monolith.
Framedragger: hmh, at least functions make up not the *worst* interface seen, but still lotsa work and weird mutable shit sprayed all around, i imagine
trinque: on the subj, still waiting for my node to shut down to connect the wire to dulap
trinque: god forbid the disk always be in a coherent state, eh?
☟︎ trinque: that's right, it's doing a sleep or two of several minutes
trinque: what, thing needs to cool?!
Framedragger: yeah, makes sense to me (on average, current likelihood of particular 32 bit entry being populated is ~ < 6%)
Framedragger: there's an assumption as max num of collisions here, of course, but obvs in practical terms it's a very safe assumption...
Framedragger: yeah. hmh - i guess that's it. literally. nice scheme
Framedragger: while at it, and i'm guessing it's in the logs.., i wonder when was the last time some tried to come up with an approximation what the costs to get to >50% network hashing power would be
☟︎ Framedragger: i'm guessing that an interested state could totally do that
Framedragger: and yeah, this 'generate collisions' scenario seems like a harder version of 'just mine'
Framedragger: attempted.. citing internal intelligence of course, or something
Framedragger: hard to believe, but then, i should read logs at least
☟︎ a111: Logged on 2017-03-10 18:25 Framedragger: hard to believe, but then, i should read logs at least
Framedragger: aha, so there's high probability that there will *be* a collision across the entire space.
Framedragger: heh you can even use things like nx bit if not wanting to reorganize table, i would guess!
Framedragger: that's a horrible idea for sure, but hey, free space to cheat in
Framedragger: no, of course, you just mentioned possible cheats, but you probably meant something more 'robust'.
trinque: if you want a reciprocal wire lemme know
jhvh1: asciilifeform: The operation succeeded.
Framedragger: asciilifeform: yeah! i may have time / want to do this in ~april. just to be clear, there's really no way to have underlying userland fs allocate a contiguous block, right?
Framedragger: also, wonder if there could be a relevant linux cap'ability for allowing raw access to given /dev/block. but maybe not.
Framedragger: well, 'disk' could just be partition which isn't a bad thing anyway, right?
Framedragger: ah yeah, iirc some applications even use this 'descriptor passing' technique so minimise high permissions level exposure (but don't recall). quite robust
Framedragger: yes, but how to cheaply ensure the latter. you won't have a shitload of locks now will you
Framedragger: (i guess depends on nature of parallel work. e.g. if it's some kind of sequential re-confirm, launch threads with different segments, etc.)
Framedragger: tree rebalance is a feature of a balance binary tree which is sometimes the right tool for the job, cmon :)
Framedragger: of course, i agree, i'm just saying it's not "inherent problem of all db omg"
a111: Logged on 2017-02-19 03:54 asciilifeform: (iirc we had a thread where i described how corporate ameritards, if given a problem like phuctor, would happily soak up a few $mil and megawatt of iron)
Framedragger: yeah, i see what you mean, and everything. i'm not convinced that phuctor db is using the most it can from postgres, but neither you nor me have time to investigate this presently, i guess (and i may not be able to do a great job there anyway)
trinque: I would, in fact, at this point drop postgresql for a persistence layer for CLOS that did not use the thing under the hood.
trinque: nah nah I have no prescription for phuctor
trinque: gpg can go die in obscurity
trinque: there's what, a million or so in the stash? plenty to build asciilifeform's fab.
trinque: occurs to me that the man might've seen the coins the same way.
Framedragger: some (very initial) symlink stats - more stuff will have to wait - given a "here are 1mn 'transactions' which symlink to files, resolve links and read from linked files in random order for 100mn times" setup, with one-folder-deep structure, like so: "simple_f1/e5/e5edc34c57d5ea2ea99cfe16d04655aa000c3d7f268022d2b21f95928fa34674 -> /files_f1/99997.txt", most basic stats are:
☟︎ Framedragger: Processed 1000000 lines (min/max target numbers seen: 1, 100000) - beginning benchmarks now... [i.e., 'target block' numbers are in this range. 1m symlinks point to 100k files randomly.]
Framedragger: Uniform randomness report: min hits seen = 871, max hits seen = 1160, avg = 1000.00, sum = 100000000.0, minloc @ 85798, maxloc @ 88837
Framedragger: Symlink resolve (readlink()) times given 100000000 iterations: min = 949 ns, max = 1353644 ns, avg = 1688.99 ns, stddev = 2502.42 ns, sum = 168899426822.0 ns, minloc @ 41772957, maxloc @ 20095033
Framedragger: fopen() times given 100000000 iterations: min = 1761 ns, max = 1506074 ns, avg = 2326.51 ns, stddev = 3003.91 ns, sum = 232650578514.0 ns, minloc @ 72539767, maxloc @ 19225446
Framedragger: fread() times given 100000000 iterations: min = 1189 ns, max = 53879016 ns, avg = 1552.73 ns, stddev = 6917.04 ns, sum = 155273497933.0 ns, minloc @ 2462746, maxloc @ 126806
Framedragger: fclose() times given 100000000 iterations: min = 645 ns, max = 739202 ns, avg = 741.62 ns, stddev = 1647.59 ns, sum = 74161953610.0 ns, minloc @ 19564589, maxloc @ 67051179
Framedragger: (fread() was 4k. files are short, with just the number of of 'block' for cross-confirmation and list of 'transactions' as contents.)
Framedragger: (5ms read on an ssd ain't too pretty, but would have to check distribution of these kinds of tails, i guess.)
Framedragger: (ftr: sata 3gbps, ext4, intel SSDSA2CW30, mirror raid.)
Framedragger: asciilifeform: you're right, i was meaning to reset caches (`echo 3 >/proc/sys/vm/drop_caches` should be enough i think), but then forgot
Framedragger: no disagreement tbh, i probably know your reasoning
Framedragger: given time, i was also meaning to run lots of strace to see what is in actuality happening with multiple symlinks etc, but maybe sisyphus
Framedragger: (anyway, will share tool i wrote if only because couldn't find anything fitting the task out there, but need to polish a bit first, etc.)
jurov: "The USG is Good, not Bad"
a111: Logged on 2017-03-10 16:49 Framedragger:
http://btcbase.org/log/2017-03-10#1624048 << feltbad, so wrote that stupid symlink and fs profiling tool that no-one wanted to do. results later. while at it: anyone knows if CLOCK_MONOTONIC has sufficient resolution for profiling? asciilifeform? allegedly - yes.
a111: Logged on 2017-03-10 16:53 asciilifeform: wtf is 'dockerfs'
a111: Logged on 2017-03-10 16:50 asciilifeform: that's slightly slower, looks like, than the old db..
Framedragger: in terms of thread-safety, yes (but not in benchmarking tool as it's not using thread-safe posix functions, but then it's not writing anything, either). however, parallel performance not at all certain.
Framedragger: oh wait, i was wrong re thread-safe functions. kernel takes care of that. has internal locking mechanism when dealing with fread/fwrite etc.
Framedragger: that said, i'm pessimistic about this whole ext4 thing just like asciilifeform. no reason not to direct time into his latest proposal
mircea_popescu: it ~should~ work, i ask because man who burned tongue on soup
Framedragger: apparently calling fclose() while syscall is running on that descriptor in another thread is 'not a good idea' (outcome maybe platform/implementation specific), but that's an avoidable corner case.
mircea_popescu: interesting what people looking to push the whore learn about its substance.
mircea_popescu: ^ me heartily recommends, this fundamental novel of the republic, to the critical eye of all.
a111: Logged on 2017-03-10 16:54 asciilifeform: to rephrase, this would tell something useful if we had with what to directly compare it with -- what operation in ye olde bdb would this measure correspond to ?
mod6: Framedragger: hey man, thanks! keep up the good work.
Framedragger: mod6: thanks - was supposed to be busy with other stuff but this cute insane asylum is concerningly quite attracting :)
mod6: ah nice mircea_popescu!
a111: Logged on 2017-03-10 16:54 asciilifeform: to rephrase, this would tell something useful if we had with what to directly compare it with -- what operation in ye olde bdb would this measure correspond to ?
mircea_popescu: the people who actually have to work for their accomplishments a la beerbohm would no doubt be quite upset.
a111: Logged on 2017-03-10 16:55 asciilifeform: ... so that a 256-bit turd, e.g., 3ec455a2a84e978687a3990cec73f36b324fbd28e03603c6d9fc52018b001558, can be taken and matched to a block # where said tx lives.
a111: Logged on 2017-03-10 16:58 Framedragger: (yeah btw, just ftr, symlink *creation* under populated dir structure (`ln -s files_f1/block35461.txt dc/dc89c1f2b58909d3814b250a731a9b9b791b092759553e3ba6579ffaad3a7565`) is slow. however, the creation was done using shellscript, need to move to c to be able to actually profile with precision.)
mircea_popescu: dc89/c1f2/b589/09d3/814b/250a/731a/9b9b/791b/0927/5955/3e3b/a657/9ffa/ad3a/7565.symlink
Framedragger: so here's the thing, if folder depth is increased, the actual numbers of symlinks per directory will be basically ~0, as per those graphs from earlier.
Framedragger: but on the other hand this'd benchmark/test directory traversal more.
mircea_popescu: Framedragger i didn't intend any distinctiuon betrween "symlink resolution" "directory traversal" et al.
Framedragger: kk as long as we're clear - i've seen those "but what would happen with 1000s of symlinks in single folder!1" comments so thought that should be tested, etoo.
mircea_popescu: btw, the usg is out in force advertising its ersatz bitcoin. "etoro" taking out google advertising on my own name (no doubt along million other strings) and so on.
Framedragger: well, *in principle* deeper traversal should really not be a problem at all. in practice - guess we shall see
mircea_popescu: no doubt in my mind the selva selvaggia be deep and readily surprising.
mircea_popescu: "social trading brokerage". doing its best to eat the third world naivite.
mircea_popescu: no, the bitcoin "etf" vehicle. give us dollars so we buy bitcoin "For you" thing.
mircea_popescu: ah, i don;t particularly care. anyone googling me who ends up on etoro deserves his punishment.
mircea_popescu: just pointing out, they've been spending by the million/day in hitler notes for the past week with this nonsense.
mircea_popescu: not unlike tv advertising to my chained girl, "a better life". really ? i think if she wanted that "better" she'd have found her way by now.
mircea_popescu: that is certain. the nsa is fast losing the tech battle.
a111: Logged on 2017-03-10 16:59 asciilifeform: now you store the table as follows: the top 32 bits (e.g., 3ec455a2 from above) are an array index into this table
mircea_popescu: asciilifeform usg really can't make anything. you're basically saying "siliconed botoxed cali chick could cook a decent meal." of course she could. of course she won't.
mircea_popescu: asciilifeform i have to protest re the scheme. i'm merely needling you in my spare time.
mircea_popescu: i said years back the race is won. but meanwhile the usg utterly lost it, ot little concern of anyone, itself included.,
a111: Logged on 2017-03-10 17:02 trinque: oh jesus docker Framedragger
a111: Logged on 2017-03-10 17:10 asciilifeform: if you're willing to blow another 16GB, you can have an l2 table
a111: Logged on 2017-03-10 17:14 Framedragger: i'm not sure if you do need driver
a111: Logged on 2017-03-10 17:16 asciilifeform: the Right Thing would probably be to have a very simple kernel driver that takes a specially-marked disk partition and gives userland trb linear use of it, as plain array
Framedragger: mircea_popescu: but if you read further down, we were saying that it may be possible to just access a raw block device without kernel module :)
Framedragger: not that it's necessarily the way to go. but consider what asciilifeform was saying - one could just pass an already-opened file handle. handle to *whatever*. no ring0 driver, no root permissions.
a111: Logged on 2017-03-10 17:19 asciilifeform: it is statistically possible that we don't even have ONE collision yet
Framedragger: (or, use linux cap to allow raw access, but that's maybe meh)
mircea_popescu: Framedragger it sounds great on paper and then crashes irrecoverably six weeks in.
Framedragger: if you have shitty code, you have shitty code. shitty code in kernel wreaks more havoc.
mircea_popescu: the noion that hdd is usable or useful is a cute pipe-dream of the web generation, unsupported in cold reality.
☟︎ Framedragger: but yeh, maybe more exposure to userspace shite if not driver - maybe
Framedragger hears wind swoosh as goalposts shifted at c velocity
mircea_popescu: it's more the case that those 10k lines of ??? actually contain the mystery bullshit that makes the whole pile of crap evern work.
Framedragger: mircea_popescu: (i thought with "sounds great on paper" you were responding to possible kernel module workarounds. but if you're against the *whole* idea, fair enough.)
mircea_popescu: i don't think anyone correctly represents the tower of accidental good luck that stands between a disk seek and your desired pron.
mircea_popescu: im not against the idea in the slightest. i'm just very unpersuaded by the theory hard drives work, to any spec, in any sanemanner.
☟︎ mircea_popescu: dispensing with the kernel's accumulated gunk comes at no cost to the wizard, but at disability to anyone else.
Framedragger: kernel driver would work around userland fs specific stuff. but certainly not against disk seek, disk cache, etc. just to clarify
Framedragger: (and yah i'm sure there's lots of crud in the former worth dropping..)
mircea_popescu has seen architerctures where there were de facto 3 different disk caches
Framedragger: ah, you're probably right. lots of fs-specific cache madness, too
a111: Logged on 2017-03-10 17:36 asciilifeform: that is, you don't need 8 bytes to say which 4kB slice has the beginning
mircea_popescu: because yes, alf is entirely correct, the hdds piss out 4kb or more per call
a111: Logged on 2017-03-10 17:43 asciilifeform: imho the 'hard part' is not even to implement this table, it is freshman homework, but to unravel the liquishit in trb and learn where to even put the lookup/write !
mod6: <+mircea_popescu> how goes mod6 << eh, it goes. getting ready to release V 99994 here soon. mom was diagnosed with stage 4 small cell cancer about 6 weeks ago -- so that's been pretty intense.
mod6: with chemo... could be 8-12. we don't think we'll do chemo tho. don't see much of a point.
mod6: like a chimney. still does.
mod6: Thanks Sir. Me too.
mod6: On a brighter note, about to setup a new trb node this weekend outside of aws. So that's awesome.
a111: Logged on 2017-03-10 17:16 asciilifeform: the Right Thing would probably be to have a very simple kernel driver that takes a specially-marked disk partition and gives userland trb linear use of it, as plain array
a111: Logged on 2017-03-10 17:46 asciilifeform: or, for instance, what is ReadDiskTx .
mod6: diana_coman, Framedragger: thanks
a111: Logged on 2017-03-10 18:01 trinque: god forbid the disk always be in a coherent state, eh?
a111: Logged on 2017-03-10 18:01 asciilifeform: trinque: i've found that 'kill', which syncs the db, followed by kill -9, which nukes shitoshi's pointless wait idiocy, worx 100%.
a111: Logged on 2017-03-10 18:02 asciilifeform: (some time grep for the sleeps, it is instructive)
a111: Logged on 2016-01-21 13:29 asciilifeform: 'if i make it what i think is the right size, it crashes!111'
a111: Logged on 2017-03-10 18:12 asciilifeform: ( i can already picture mircea_popescu spitting out his breakfast, 'modern hdd dun have cylinder, you nut' -- except, it in effect DOES, fetches massive blox , whether mechanical or ssd, by design, for ages now )
a111: Logged on 2017-03-10 18:17 asciilifeform: do the arithmetic, it isn't as if anyone can cancel the 'block per 10min' thing.
a111: Logged on 2017-03-10 18:20 asciilifeform: at any rate, working around this idiocy would be very cheap -- say we index by top32 of keccak(txid) instead of plain txid. in the event of.
mod6: perhaps not. i like that we're thinking about things like this though.
a111: Logged on 2017-03-10 18:24 Framedragger: while at it, and i'm guessing it's in the logs.., i wonder when was the last time some tried to come up with an approximation what the costs to get to >50% network hashing power would be
a111: Logged on 2017-03-10 18:24 asciilifeform: Framedragger: there was old thread with mircea_popescu , where he stated that usg and china attempted it at same time, and perma-deadlocked
a111: Logged on 2017-03-10 18:33 asciilifeform: (~guaranteed at 80 or so)
a111: Logged on 2017-03-10 18:40 asciilifeform: you can use x64's page table to 'cheat' and store a sparse form !
a111: Logged on 2017-03-10 18:57 asciilifeform: i'd like to think of an elegant solution to this
a111: Logged on 2017-03-10 19:11 asciilifeform: ( i wonder if there are any traditional fs that will actually give you 16G of contiguous blocks, if asked nicely )
a111: Logged on 2017-03-10 19:19 asciilifeform: for completeness, i will note that you can model any 'whole disk' variant with an enormous flat file, in userland, at some speed penalty.
a111: Logged on 2017-03-10 19:33 asciilifeform: Framedragger: all you need is to check a read candidate against the current list of active writes.
a111: Logged on 2017-03-10 22:21 mircea_popescu: the noion that hdd is usable or useful is a cute pipe-dream of the web generation, unsupported in cold reality.
a111: Logged on 2017-03-10 22:23 mircea_popescu: im not against the idea in the slightest. i'm just very unpersuaded by the theory hard drives work, to any spec, in any sanemanner.
a111: Logged on 2017-03-10 19:33 asciilifeform: Framedragger: but not right tool for ~this~ job
mircea_popescu: because any arbitrart hash has equal chances to be seen as next hash as any other.
mircea_popescu: this is exactly contrarty to the engineering assumption in "balancing"
mircea_popescu: asciilifeform no, no, nothing of the kind. i was contemplating no hardware whatsoever, just the tower of crud that builds up to consumer fs
Framedragger: ftr i didn't every say it was the right thing for bitcoin with uniformly distributed hashspace
mircea_popescu: the rebalancing above a fine examplke of the fundamental problems.
mircea_popescu: Framedragger yeah that's exactly it, the distributions
a111: Logged on 2017-03-10 19:34 asciilifeform: Framedragger: i am increasingly finding that 'general purpose db' is, like the infamous 'vise-grip', The Wrong Tool For Every Job
Framedragger: (also just for poterity it's not like you can't tell a decent db which indexing mechanism it should use. but i agree with main 'general tools are ~meh' sentiment)
mircea_popescu: there is no practical way to tell postgresql to do slave reads ; nor any way to tell ~any db to do unbalancing btree stores.
a111: Logged on 2017-03-10 23:06 mircea_popescu:
http://btcbase.org/log/2017-03-10#1624446 << there may be a lot of merit in this. even l1-l4 implemented via kernel table may be faster than freestanding l1 with "occasonal" (to be defined) cache miss aka collision.
mircea_popescu: this theory of yours crashes on the jagged shores of a meaner reality.
mircea_popescu: asciilifeform in any case this is turning into QUITE the course on caching!
Framedragger: also just ftr, a b-tree by definition has every part of it be of the same depth. 'unbalancing b-tree' doesn't even make sense. but you could have 'just a normal tree', and one can implement custom indices. just pointing out
a111: Logged on 2017-03-10 19:38 asciilifeform: trinque: then i'll need a cl pgp parser
mircea_popescu: Framedragger i just meant "don't fucking rebalance my tree, behind the scenes, idiot!"
mircea_popescu: (they do this, and they think they're smart for it, too.)
Framedragger: ACID is not a bad idea yknow. i wonder if you could accomplish what you wanted with dirty slave reads via streaming replication or sth. but, eh. bbl, food
mircea_popescu: acid is not a bad idea in the sense "valentine's day" is not a bad idea.
mircea_popescu: if you have no relationship with your whore, it will provide some anchor for pointless, idle pretense while you "focus on your career"
a111: Logged on 2017-03-10 19:39 trinque: we'll make a CL lib for p
a111: Logged on 2017-03-10 20:31 Framedragger: some (very initial) symlink stats - more stuff will have to wait - given a "here are 1mn 'transactions' which symlink to files, resolve links and read from linked files in random order for 100mn times" setup, with one-folder-deep structure, like so: "simple_f1/e5/e5edc34c57d5ea2ea99cfe16d04655aa000c3d7f268022d2b21f95928fa34674 -> /files_f1/99997.txt", most basic stats are:
mircea_popescu: fopen() times given 100000000 iterations: min = 1761 ns, max = 1506074 ns, avg = 2326.51 ns, << holy shit what.
mircea_popescu: asciilifeform always worth hounding down in my experience.
mircea_popescu: time_elapsed_nanos = timer_end(time_init); << trhis is ns precision now ?
mircea_popescu: i do not trust his clock ; seems to be accurate within a few ms at best.
Framedragger: allegedly this is what folks use for high precision profiling. i checked and wrote trivial version of that. but yah, clock_gettime()
mircea_popescu: Framedragger consider using the recently discussed clocking method
Framedragger: now they gonna talk about how one cant measure anything and need phuctor-made superclocks. kk. sure. but this is as accurate as it gets, sir
Framedragger: ah that i've heard of. not without its problems iirc
a111: Logged on 2016-09-14 12:01 Framedragger: "rdtsc is not guaranteed to be available on every CPU, or to run at a constant rate, *or be consistent between different cores.*" (emphasis mine). `get_cycles()` is recommended, but from cursory look it seems that on some architectures it uses rdtsc internally? madness.
a111: Logged on 2016-09-14 13:28 asciilifeform:
http://btcbase.org/log/2016-09-14#1541639 << not only is this true, but you won't be seeing scientifically accurate nanosecond timing in a konsooomer box at all. the physical clock is not up to it.
a111: Logged on 2017-03-06 17:22 mircea_popescu: the guys did actually splendid work, read the paper, worth it.
mircea_popescu: better clock than ~anything the kernel exposes, is the sad truth\
Framedragger: incrementor where, in another thread so that one may have more context switches for fun? those calls are blocking..
Framedragger: i actually did check what was available before deciding on clock measurement yknow. but yah, need to try rdtsc
mod6: <+BingoBoingo> Sorry to hear mod6, keep coming back <+asciilifeform> aha, hats off to mod6 << thank you, Gentlemen.
Framedragger: ..but if one wants to measure fs performance, he's stuck with syscalls.
Framedragger: asciilifeform: i thought that's why folks use CLOCK_MONOTONIC? i guess the irony is that it's not..monotonic in the end, still. :(
Framedragger running on barebones xeon (not docker) nao, fwiw
a111: Logged on 2017-03-10 23:27 asciilifeform: mircea_popescu: aha, i started at one point to do it, and realized 'wtf why'
Framedragger: asciilifeform: something about needing to discard 'invalid values' with rdtsc (even when set up correctly - apparently best to 'pin' particular cpu, etc etc..) oh god.
phf: beats an xl1201 by a margin
mircea_popescu just looked, he is drawing 3.5 kw with his boxen. this is before ac etc.
Framedragger: i must write a short comedy screenplay for how discussions develop in #trilema. "i want to take a picture" ... ... ... [intense calculations of incident gamma rays to reclaim lost pixels in images] [furious rehash of late renaissance representationalism]
phf: no no, i'm missing console at the moment
phf: no, just haven't shipped it. i've been waiting for some friends to do west coast/east coast drive, but those always seem to NOT happen when you actually need them. i can boot it to do remote x11 though, was configured with the assumption that it will boot blind
mircea_popescu: it has the distinction of being fashioned ~entirely out of police blotted / da filings verbatim.