2008-10-16 00:00 wayback? 2008-10-16 00:01 http://web.archive.org/web/20080128190254/http://www.sandeepranade.com/html/ComputerScience/time-travelling-file-manager.html 2008-10-16 00:01 yeah 2008-10-16 00:01 ext3cow, the obvious tool to test it with 2008-10-16 00:02 that was it, not NILFS as I said 2008-10-16 00:02 and I wonder when the ext3cow guys are going to go for kernel merge 2008-10-16 00:02 when they are able to rm again? :-) 2008-10-16 00:02 they can rm, it just doesn't go away 2008-10-16 00:03 btw, a few months ago I briefly looked into adding previous versions support to DolphinPart (which is what KDE uses these days, both in Dolphin and in Konqueror) and it did not look too hard 2008-10-16 00:03 should be integrated with a generic time shifter 2008-10-16 00:03 I like the zoom buttons on the link above 2008-10-16 00:04 the other thing needed on such a slider is little marks where significant changes actually happened 2008-10-16 00:04 I don't know how you'd do that 2008-10-16 00:04 anything at all, to show where the activity was 2008-10-16 00:05 a little squashed histogram of activity instead of linear time scale, maybe 2008-10-16 00:06 adding little marks where significant changes actually happened should not be difficult, but how to find significant changes? a change which affects many files (and how many is "many"?) ? a change which affects a large amount of data (is deleting a DVD-ripped movie actually a big change?) ? 2008-10-16 00:07 exactly 2008-10-16 00:07 well there we have an advantage in tux3, you see all the changes at the same time, at least for one file 2008-10-16 00:08 some kind of out of band activity report 2008-10-16 00:08 we need that actually, for the new generation of filesystems 2008-10-16 00:08 like git and hg have 2008-10-16 00:09 do git and hg have heuristics to tell you "hey, this was a HUGE change"? I didn't know 2008-10-16 00:09 they don't report that 2008-10-16 00:10 it's interesting stuff, we should be mining that data out of our filesystems somehow 2008-10-16 00:10 something to think about 2008-10-16 00:17 ACTION turns in early 2008-10-16 00:17 got to get back in the coding saddle tomorrow, plus post a new post 2008-10-16 00:20 see you! 2008-10-16 00:20 pgquiles_, I hope somebody picks up that time travel interface work again, most practically with ext3cow I think 2008-10-16 00:20 I hope I have time to do that 2008-10-16 00:20 :-) 2008-10-16 00:20 gnight 2008-10-16 01:56 -!- pranith(ca4bcee2@webchat.mibbit.com) has joined #tux3 2008-10-16 02:09 -!- tim_dimm(~timothyhu@cpe-76-90-98-247.socal.res.rr.com) has joined #tux3 2008-10-16 07:56 -!- tim_dimm(~timothyhu@cpe-76-90-98-247.socal.res.rr.com) has joined #tux3 2008-10-16 08:29 -!- MaZe(~MaZe@216-239-45-4.google.com) has joined #tux3 2008-10-16 09:45 -!- Bobby_(~Bobby@122.162.71.144) has joined #tux3 2008-10-16 12:31 -!- bushman(~marcin@c-76-23-106-132.hsd1.sc.comcast.net) has joined #tux3 2008-10-16 13:28 -!- tim_dimm(~timothyhu@cpe-76-90-98-247.socal.res.rr.com) has joined #tux3 2008-10-16 15:00 need a catchy subject line for the follow up post to thinking about syncing 2008-10-16 15:34 -!- flips(~phillips@phunq.net) has joined #tux3 2008-10-16 15:58 -!- tim_dimm(~timothyhu@cpe-76-90-98-247.socal.res.rr.com) has joined #tux3 2008-10-16 16:52 title for the next post is set 2008-10-16 16:52 "Of Phases, Quanta, and Episodes" 2008-10-16 16:54 nearly sk8 oclock 2008-10-16 16:57 -!- ChanServ changed mode/#tux3 -> +o flips 2008-10-16 16:57 -!- flips changed topic to "http://tux3.org ~ Tux3 U, right here Tuesdays and Thursdays at 8 pm Pacific Time ~ Next session: page locking and IO life cycle" 2008-10-16 16:58 -!- ChanServ changed mode/#tux3 -> -o flips 2008-10-16 16:58 -!- ChanServ changed mode/#tux3 -> +o flips 2008-10-16 16:59 -!- flips changed topic to "http://tux3.org ~ Tux3 U, right here Tuesdays and Thursdays at 8 pm Pacific Time ~ Next session: IO life cycle of a page" 2008-10-16 16:59 -!- ChanServ changed mode/#tux3 -> -o flips 2008-10-16 16:59 scans better 2008-10-16 18:00 -!- tux3bot(~tux3bot@yzf.shapor.com) has joined #tux3 2008-10-16 18:03 -!- tim_dimm(~timothyhu@cpe-76-90-98-247.socal.res.rr.com) has joined #tux3 2008-10-16 19:45 -!- FelipeS(~Felipe@r77h15.res.gatech.edu) has joined #tux3 2008-10-16 19:48 -!- RazvanM(~RazvanM@pool-151-196-118-156.balt.east.verizon.net) has joined #tux3 2008-10-16 19:48 Hi! 2008-10-16 19:52 hi 2008-10-16 19:52 ACTION has 8 minutes to shower after the sk8 2008-10-16 19:53 -!- RalucaM(~ral@pool-151-196-118-156.balt.east.verizon.net) has joined #tux3 2008-10-16 19:53 hi 2008-10-16 19:57 lhi raluca 2008-10-16 19:59 2 days into life with its fan disconnected and the eee is happy and healthy 2008-10-16 19:59 recommended imho 2008-10-16 19:59 :-) 2008-10-16 19:59 what are you using it for? 2008-10-16 19:59 now I just need to do the spacebar mod and it will be a fine machine 2008-10-16 19:59 use it for a laptop 2008-10-16 19:59 much nicer to carry around than the thinkpad 2008-10-16 20:00 doesn't bend your shoulder 2008-10-16 20:00 :-) 2008-10-16 20:00 in fact, fits in the _flap_ of my camera backpack, and it isn't a big backpack 2008-10-16 20:00 mine is ;-) 2008-10-16 20:00 what kind of camera in it? 2008-10-16 20:00 whoops 2008-10-16 20:00 usually the canon 10d 2008-10-16 20:01 I can't know that, it's tux3 u kind 2008-10-16 20:01 ah 2008-10-16 20:01 20d here 2008-10-16 20:01 old but awesome camera :D 2008-10-16 20:01 oh yes 2008-10-16 20:01 even better :P 2008-10-16 20:01 40d will replace it as soon as I get clearance from my wife 2008-10-16 20:01 :D 2008-10-16 20:01 this is entirely justified by the 11000 baby pictures I took in the last two years 2008-10-16 20:01 ACTION is ready for tux3 2008-10-16 20:02 :-) :-) :-) 2008-10-16 20:02 ok, let's go 2008-10-16 20:02 today will be nittier and grittier 2008-10-16 20:02 let's go look at block_read_full_page 2008-10-16 20:03 ACTION listens to the sound of browsers revving up 2008-10-16 20:03 http://lxr.linux.no/linux+v2.6.26.6/fs/buffer.c#L2086 2008-10-16 20:04 beat me ;) 2008-10-16 20:04 on entry to this function the page must be locked 2008-10-16 20:05 or this task will oops with a BUG 2008-10-16 20:05 so where does the page get unlocked? 2008-10-16 20:05 see if you can find it, max 3 minutes 2008-10-16 20:06 ACTION takes the chance to snag a glass of vino 2008-10-16 20:07 ACTION is searching 2008-10-16 20:08 talk about your reasoning as you go if you like 2008-10-16 20:09 ok, hint: we've seen the mechanism before 2008-10-16 20:09 right now I'm searching for unlock_page usage 2008-10-16 20:09 I looked for block_read_full_page first 2008-10-16 20:09 didn't get to far 2008-10-16 20:09 when _should_ the page taht is being read be unlocked 2008-10-16 20:09 ? 2008-10-16 20:10 I mean, if you were designing your own os 2008-10-16 20:10 when will be evicted 2008-10-16 20:10 sorry 2008-10-16 20:10 when is not in use anymore 2008-10-16 20:10 apology accepted ;) 2008-10-16 20:11 when it has been successfully read 2008-10-16 20:11 that is when it should be unlocked 2008-10-16 20:11 aaa... 2008-10-16 20:11 I was very wrong :P 2008-10-16 20:11 then all tasks blocked trying to get the page lock will be unlocked, and can then read the data on the page 2008-10-16 20:11 sure, but you thought about it 2008-10-16 20:11 that's the important step 2008-10-16 20:11 ok, so the locking is only for waiting, right? 2008-10-16 20:12 locking is always only for waiting 2008-10-16 20:12 true 2008-10-16 20:12 locking enforces synchronized access to data by making tasks wait 2008-10-16 20:13 in this case, tasks must wait because the page does not contain valid data yet, the data has to be read from disk 2008-10-16 20:13 ack 2008-10-16 20:13 the very first task that needs the data will grab the lock and then be responsible for launching the read 2008-10-16 20:13 http://lxr.linux.no/linux+v2.6.26.6/fs/buffer.c#L2154 2008-10-16 20:14 that's one unlock location 2008-10-16 20:14 not the common one 2008-10-16 20:14 so it makes perfect sense to check if the lock is on 2008-10-16 20:14 if there is none then nobody is waiting 2008-10-16 20:14 what about read ahead? :P 2008-10-16 20:15 whole nuther topic 2008-10-16 20:15 in fact, this page could be being read as part of readahead 2008-10-16 20:15 the locking logic doesn't change 2008-10-16 20:15 the unlock happens in the bio endio 2008-10-16 20:15 does it make sense to wait for a read ahead? 2008-10-16 20:16 much as maze implemented in junkfs 2008-10-16 20:16 yes, it is mandatory to wait for the readahead 2008-10-16 20:16 any task waiting on the lock intends to use the data on the page 2008-10-16 20:16 it could be a parallel task reading at a different place in the file 2008-10-16 20:17 or a page fault caused by memory access to mmap region 2008-10-16 20:17 we don't care why somebody is trying to read the page, only that the read is happening 2008-10-16 20:17 now, where does the page get locked? 2008-10-16 20:17 3 minute search 2008-10-16 20:17 :D 2008-10-16 20:18 reason out loud 2008-10-16 20:18 hint: we've been in the neighbourhood before 2008-10-16 20:18 the locking should happen in somebody that needs a page 2008-10-16 20:19 grab_page or some of the friends :P 2008-10-16 20:19 right, and what piece of code might? 2008-10-16 20:19 grab_page doesn't actually read a page 2008-10-16 20:19 it's part of the mechanism for doing file write 2008-10-16 20:19 (that was another hint) 2008-10-16 20:20 well... we need the data from the page so to me it make sense to look in the read part 2008-10-16 20:20 yes 2008-10-16 20:20 what read part should be look at? 2008-10-16 20:21 get_block? checking now... 2008-10-16 20:21 get_block just performs the mapping between a logical block number and a physical block number, it doesn't actually do IO on the block 2008-10-16 20:22 (though in the tux3 user space code, our equivalent does) 2008-10-16 20:22 http://lxr.linux.no/linux+v2.6.26.6/mm/filemap.c#L1170 2008-10-16 20:23 generic_blah_read 2008-10-16 20:23 it is actually the responsibility of the application, in most cases a filesystem, to lock the page 2008-10-16 20:23 go_generic_file_read? 2008-10-16 20:23 maybe 2008-10-16 20:23 because I still don't see the locking :P 2008-10-16 20:24 let's find the actual call to lock_page here 2008-10-16 20:24 yes, do_* 2008-10-16 20:24 you see the for loop 2008-10-16 20:24 something interesting: http://lxr.linux.no/linux+v2.6.26.6/mm/filemap.c#L61 2008-10-16 20:25 http://lxr.linux.no/linux+v2.6.26.6/mm/filemap.c#L894 yes... 2008-10-16 20:25 yes, that's a message to you straight from akpm 2008-10-16 20:25 the first to actually bother to write this stuff down 2008-10-16 20:25 in fact, what we are covering here today is written in no book 2008-10-16 20:26 http://lxr.linux.no/linux+v2.6.26.6/mm/filemap.c#L1003 2008-10-16 20:26 one day maybe we will write the book, can you write well? 2008-10-16 20:26 ACTION writes very badly 2008-10-16 20:26 but a book about FS is a great idea! :D 2008-10-16 20:26 really-really great 2008-10-16 20:26 research well then? 2008-10-16 20:26 that I already know 2008-10-16 20:27 good researcher 2008-10-16 20:27 ok, that is one important place the page gets locked 2008-10-16 20:27 but I don't think it's the main one, let me check 2008-10-16 20:28 oh yes it is 2008-10-16 20:28 you nailed it 2008-10-16 20:28 ok, do_blah_read is far from the only place a page can be read 2008-10-16 20:29 it's the not up to date branch so it make some sense to be the main one 2008-10-16 20:29 the _get_block method may have to read one or more pages to figure out what the physical mapping for a file page is 2008-10-16 20:29 yes, it is 2008-10-16 20:30 the other big branch is the not present branche 2008-10-16 20:30 we're not going over those details today, though we should later 2008-10-16 20:30 ack 2008-10-16 20:31 ok, what else do we need to know about page locking? 2008-10-16 20:31 what we didn't do is the buffer locking, which is mixed together with the page locking in block_read_full_page 2008-10-16 20:31 I think we will leave that for later, we've done enough buffers recently 2008-10-16 20:32 suffice to say, that that part is an unholy mess 2008-10-16 20:32 :-) 2008-10-16 20:32 (I don't see the buffer locking in block_read_full_page :() 2008-10-16 20:32 I should mention that the locking path we just looked at used to be the main path for file reading in the past 2008-10-16 20:33 it isn't any more 2008-10-16 20:33 which one is it? 2008-10-16 20:34 first, take a look at this: http://lxr.linux.no/linux+v2.6.26.6/mm/filemap.c#L1021 2008-10-16 20:35 error = mapping->a_ops->readpage(filp, page); 2008-10-16 20:35 looks like the main read, correct? 2008-10-16 20:35 right 2008-10-16 20:36 the truth is, the fs does not have to limit itself to reading just this page 2008-10-16 20:36 it must read the page asked for, or you see we return EIO here 2008-10-16 20:36 but it can also read a bunch more pages at the same time 2008-10-16 20:37 which new incarnations of ext3 does 2008-10-16 20:37 we will take a look at that another time 2008-10-16 20:37 it's the multipage path 2008-10-16 20:37 a whole, big, much messier topic 2008-10-16 20:37 just a quick q: there is a generic implementation for readpage somewhere, right? 2008-10-16 20:37 yes, we started with it today 2008-10-16 20:38 block_read_full_page 2008-10-16 20:38 aaaaaa :D 2008-10-16 20:38 ok 2008-10-16 20:38 look for all occurrences, you will find about one/fs 2008-10-16 20:38 tux3 will have one too 2008-10-16 20:38 (the romfs implements it :P) 2008-10-16 20:38 well 2008-10-16 20:38 sorry 2008-10-16 20:38 tux3 is going to ignore block_read_full_page and do the io by a different method I think 2008-10-16 20:39 as you can see, the block_read_full_page function is rather more convoluted that you would expect 2008-10-16 20:39 mpage_readpage 2008-10-16 20:39 that costs cpu, and worse, does operations a page at a time, at best 2008-10-16 20:39 right 2008-10-16 20:39 I haven't really looked at that in depth myself 2008-10-16 20:40 we'll do it as a group, in fact that can be homework for next time 2008-10-16 20:40 ack 2008-10-16 20:40 :D 2008-10-16 20:40 read the mpage path 2008-10-16 20:40 noted 2008-10-16 20:40 ok, that is only half the story of page locking lifecycle 2008-10-16 20:40 the other half is on the write side 2008-10-16 20:41 so lets start similarly by looking at block_write_full_page (again) 2008-10-16 20:41 http://lxr.linux.no/linux+v2.6.26.5/fs/buffer.c#L2801 2008-10-16 20:41 :) 2008-10-16 20:41 and then http://lxr.linux.no/linux+v2.6.26.5/fs/buffer.c#L1645 2008-10-16 20:42 same locking check :P 2008-10-16 20:42 right 2008-10-16 20:42 good 2008-10-16 20:42 io is by nature symmetric 2008-10-16 20:42 in linux you often have to see past a lot of cruft to see that 2008-10-16 20:43 what would be the equivalent of read ahead for write? :P 2008-10-16 20:43 aaa... flushing 2008-10-16 20:43 write_garbage_ahead? 2008-10-16 20:43 sure 2008-10-16 20:43 I should have though more before asking :P 2008-10-16 20:43 flushing 2008-10-16 20:43 me too 2008-10-16 20:43 couldn't resist the temptation to make a joke 2008-10-16 20:44 write_garbage_ahead is funny :P 2008-10-16 20:44 locking strategy is assymetric in a surprising way here 2008-10-16 20:44 many loops in this functions... 2008-10-16 20:45 ...reading code here... 2008-10-16 20:45 function 2008-10-16 20:45 yes, it's going steadily cruftier over time 2008-10-16 20:45 has reached a truly startling stage by now 2008-10-16 20:45 we can skip the first one, right? :D 2008-10-16 20:45 sure, and look at this: http://lxr.linux.no/linux+v2.6.26.5/fs/buffer.c#L1748 2008-10-16 20:46 unlock_page(page); 2008-10-16 20:46 :D 2008-10-16 20:46 symmery, we haz it! 2008-10-16 20:46 that interesting thing is, this is done right after the submit_bh, which doesn't wait for the actual IO to take place 2008-10-16 20:46 this is the asymmetric part 2008-10-16 20:46 the page is unlocked during the actual write, but for a read it is locked 2008-10-16 20:47 why do you suppose that might be? 2008-10-16 20:47 for read we need the content so we need to wait for the result 2008-10-16 20:47 right, and why can we drop the lock for the write? 2008-10-16 20:47 for write we don't need to wait if we don't care if it fails :P 2008-10-16 20:48 and what advantage is there to dropping the lock for write? 2008-10-16 20:48 stupid q: the locks are counting locks? 2008-10-16 20:48 the truth is, I don't really know the advantage, it is always a racy bug to write to a page that is in process of being written to media 2008-10-16 20:49 no, the locks are nonrecursive 2008-10-16 20:49 good guess though 2008-10-16 20:49 in some cases, there is no way to prevent the race of writing to a page that is currently being transferred to disk 2008-10-16 20:49 actually, this unlock will wakeup somebody... 2008-10-16 20:50 true, which will do a racy, useless write the the page 2008-10-16 20:50 who will be wake up? 2008-10-16 20:50 good question 2008-10-16 20:50 some buggy application probably 2008-10-16 20:50 there much be a lock somewhere... 2008-10-16 20:51 we check for the lock to be on at the start of the function 2008-10-16 20:51 the reason this is always a race is, a write to this memory location while the page is in flight could easily take pace at exactly the same time as the dma transfer 2008-10-16 20:51 so we can't predict whether the page will have new or old data or part of each on disk 2008-10-16 20:51 the dma will use the same lock? 2008-10-16 20:51 dma uses no lock 2008-10-16 20:51 hmm... 2008-10-16 20:52 really? 2008-10-16 20:52 once we have sent a page down to the block layer, dma can be initiated at any time 2008-10-16 20:52 really 2008-10-16 20:52 before starting the dma the page is not locked? 2008-10-16 20:52 scary? 2008-10-16 20:52 if you're scared by that you're starting to get it 2008-10-16 20:52 dma doesn't care a bit about page locks 2008-10-16 20:52 hmm... 2008-10-16 20:52 look through all the dma code, you will find no synchronization there 2008-10-16 20:52 I though the OS will take some care... 2008-10-16 20:52 except with the disk hardware 2008-10-16 20:53 the filesystem should take care all right, but it can't do anything about mmaped writes for example 2008-10-16 20:53 tux3 will take a great deal of care there 2008-10-16 20:53 because we can also be writing out metadata here 2008-10-16 20:54 and it is always a bug to have a racy write to metadata 2008-10-16 20:54 in other words, the synchronization is performed by caller 2008-10-16 20:54 ack :D 2008-10-16 20:54 the vfs/block library can't possibly know enough to do the synchronization itself 2008-10-16 20:55 ok, the rest is just a reading exercise 2008-10-16 20:55 the page locks will be found in generic_* like as for the read case 2008-10-16 20:55 though in some cases they will be buried in filemap functions like grab_cache_page 2008-10-16 20:56 what would you like to look at for next tuesday? 2008-10-16 20:56 my deadline for 22 was canceled so I'll have some time to work on the fs stuff again :P 2008-10-16 20:56 :) 2008-10-16 20:57 well tomorrow I'll probalby get back in the hacking chair 2008-10-16 20:57 maze would know better to answer to that question 2008-10-16 20:57 fix some filemap bugs and maybe that readdir thing 2008-10-16 20:57 let's take a run at mpage 2008-10-16 20:57 what's the question? 2008-10-16 20:57 "what next" 2008-10-16 20:57 flips: what would you like to look at for next tuesday? 2008-10-16 20:57 MaZe: where have you been?? 2008-10-16 20:58 mpage.c I think 2008-10-16 20:58 unfortunately, working since 8am today 2008-10-16 20:58 flips: you are working on tux3 only your free time? 2008-10-16 20:58 so we can see how akpm goes about bypassing what looks like the main IO paths in the kernel 2008-10-16 20:58 I've read through till 8:30 pm 2008-10-16 20:58 razvanm, indeed 2008-10-16 20:59 wow... 2008-10-16 20:59 MaZe: reading? 2008-10-16 20:59 ok, you mentioned my name, so it pinged me and I looked, but I'm not sure what exact question and how to answer it 2008-10-16 21:00 (reading? trying, but not having the time to do it well really) 2008-10-16 21:00 MaZe: the questions was what to talked about next tuesday 2008-10-16 21:00 maze is busy handling a large fire in a google data center 2008-10-16 21:00 at the moment 2008-10-16 21:01 ACTION lies through his teeth 2008-10-16 21:01 fire?!? 2008-10-16 21:01 standard goog joke 2008-10-16 21:01 :-) 2008-10-16 21:01 disk drive caught fire 2008-10-16 21:01 flames leaping into the statosphere 2008-10-16 21:02 causing your gmail to lag by tens of seconds 2008-10-16 21:02 nothing beats the waiting time for loading gmail the first time 2008-10-16 21:02 so about that 10d... 2008-10-16 21:02 when I first noticed the progress bar I though it's a joke :P 2008-10-16 21:03 we got the 10d after a rebel xt :P 2008-10-16 21:03 that's mainly crappy javascript parsing in firefox 2008-10-16 21:03 because I had the chance to hold a 10d in my hand and I fall in love :P 2008-10-16 21:03 rebel xt is a nice machine in its own right 2008-10-16 21:03 there is no time for the progress bar in chrome? 2008-10-16 21:03 but when you get a real camera the difference is obvious 2008-10-16 21:04 I really like that big wheel 2008-10-16 21:04 and the way you can very quickly change the settings 2008-10-16 21:04 chrome's big deal is a faster javascript parser 2008-10-16 21:04 and the much lower shutter lag 2008-10-16 21:04 and the heft 2008-10-16 21:04 that's a big one for me 2008-10-16 21:04 really helps in framing shots 2008-10-16 21:04 you really noticed the diffence in shutter speed? 2008-10-16 21:05 shutter lag 2008-10-16 21:05 lag sorry... 2008-10-16 21:05 faster data path from the sensor etc 2008-10-16 21:05 faster focus setup (though still sucks) 2008-10-16 21:05 faster motor drive, that's a big one for me 2008-10-16 21:05 changing the focus points is not my main strength :P 2008-10-16 21:06 200 ms on the 20d 2008-10-16 21:06 bigger controls, also a big deal 2008-10-16 21:06 the funny thing, the eye tracking in and old A2E I have is really working :-) 2008-10-16 21:06 a2e? 2008-10-16 21:06 looks similar with the 10d but it's on film 2008-10-16 21:07 I only dabbled in real film a little bit 2008-10-16 21:07 I like being able to take thousands of shots at $0/shot 2008-10-16 21:08 I shoot film after I did on digital 2008-10-16 21:08 is nice 2008-10-16 21:08 in a different way :P 2008-10-16 21:08 yes, I can see that, I don't like waiting to see the results though 2008-10-16 21:08 :D 2008-10-16 21:08 well by now on digital I usually know whether I've got a good shot without looking 2008-10-16 21:08 I also use a ricoh GX100 almost daily 2008-10-16 21:09 digital is awesome when you use flashes :D 2008-10-16 21:09 that fixes a lot, true 2008-10-16 21:09 http://www.canon.com/camera-museum/camera/film/data/1991-1995/1992_eos5_qd.html the A2E 2008-10-16 21:09 about time for me to get a real flash 2008-10-16 21:10 yup! :D 2008-10-16 21:10 I'm goint to take my camera down to the boardwalk tomorrow 2008-10-16 21:10 in abovementioned backpack 2008-10-16 21:10 boardwalk? 2008-10-16 21:10 the sunsets are beyond belief, with the fires going on up the valley 2008-10-16 21:10 venice beach 2008-10-16 21:11 http://www.imagekandi.com/photo/images/Venice-Beach-Board-Walk.jpg 2008-10-16 21:11 aaa 2008-10-16 21:11 awesome :D 2008-10-16 21:11 saw exactly that tonight, except much redder 2008-10-16 21:11 skate through that spot every day 2008-10-16 21:11 stop! :D 2008-10-16 21:12 there was a movie being shot just north ;) 2008-10-16 21:12 I skated into the middle of it, the security guy assumed I must be with the crew 2008-10-16 21:12 :-) 2008-10-16 21:12 funny 2008-10-16 21:12 could have gotten myself a free helping at the buffet 2008-10-16 21:12 -!- konrad(~konrad@D-128-208-53-208.dhcp4.washington.edu) has joined #tux3 2008-10-16 21:12 but had to get home for tux3 u 2008-10-16 21:13 aaa 2008-10-16 21:13 so later would be better? :D 2008-10-16 21:13 it's fine 2008-10-16 21:13 there will be another shoot 2008-10-16 21:13 and more free food 2008-10-16 21:13 (we had to come home earlier to catch it :P) 2008-10-16 21:13 it was already dark by that time 2008-10-16 21:13 I was asking about the tux3 u :P 2008-10-16 21:13 current time for tux3 u works fine for me 2008-10-16 21:14 do you have flickr stream? :P 2008-10-16 21:14 now, is it good? 2008-10-16 21:14 oh 2008-10-16 21:14 (thanx for the lesson tonight) 2008-10-16 21:14 you mean for for the skate 2008-10-16 21:14 I'll get pix tomorrow 2008-10-16 21:14 funny I never thought of doing that before 2008-10-16 21:14 take it for granted 2008-10-16 21:14 but last few days have been way over the top 2008-10-16 21:15 everybody just stopping and staring with their mouths open 2008-10-16 21:15 :-) 2008-10-16 21:16 got to clean my sensor 2008-10-16 21:16 got one of those visible dust thingies, haven't used it yet 2008-10-16 21:16 but I will hate myself if there is visible dust on my photos tomorrow 2008-10-16 21:17 if you open the aperture then they not be so visible... 2008-10-16 21:17 kind of hard when you're shooting straight into the sun 2008-10-16 21:17 well 2008-10-16 21:17 20d also doesn't have the auto-cleaning stuff... 2008-10-16 21:17 I'll set the shutter fast 2008-10-16 21:17 right 2008-10-16 21:17 yeah... 2008-10-16 21:17 can't do that either 2008-10-16 21:17 all the palm trees will be black 2008-10-16 21:18 so I'll clean the sensor 2008-10-16 21:18 well... if the range of light is big there is not much to do anyway... 2008-10-16 21:18 aaa... you could use a filter 2008-10-16 21:18 the main reasons for going to the 40d: 1) 20% more bit fat pixels 2) 3 inch display 2008-10-16 21:18 a gradient filter... 2008-10-16 21:18 everything else I don't really care that much about 2008-10-16 21:19 I think that working with big files is a pain :P 2008-10-16 21:19 I'll bring my filters 2008-10-16 21:19 play around 2008-10-16 21:19 depends on what machine you have though :D 2008-10-16 21:19 cool :P 2008-10-16 21:19 the ee handles those files just fine 2008-10-16 21:19 make a perfect complement to the canon 2008-10-16 21:20 wow! you open the files on that machine??? 2008-10-16 21:20 you can't fill the 16 GB flash in a day 2008-10-16 21:20 works great 2008-10-16 21:20 it's a pretty fast little machine 2008-10-16 21:20 1 GB memory 2008-10-16 21:21 I can't believe it only cost $500, now costs closer to $300 2008-10-16 21:21 nice... 2008-10-16 21:21 it's going to get a big brother pretty soon, eee 1000 2008-10-16 21:22 what I need to be able effectively on the road 2008-10-16 21:22 OT: http://farm4.static.flickr.com/3017/2894438808_e0d5f9bfbb.jpg taken with a cheap old flash and a cheap umbrella 2008-10-16 21:22 the 9 inch keyboard causes some strain 2008-10-16 21:22 the screen is bigger on the 1000? 2008-10-16 21:23 10 inches, and a 92% keyboard 2008-10-16 21:23 crisp indeed 2008-10-16 21:23 time delay? 2008-10-16 21:23 or raluca on the camera maybe 2008-10-16 21:24 time delay? 2008-10-16 21:24 that's a shot of you, no? 2008-10-16 21:25 http://farm4.static.flickr.com/3286/2893639655_3aed45ecd4_b.jpg 2008-10-16 21:25 yup, that was me 2008-10-16 21:25 the other one is one with Ral 2008-10-16 21:25 notice the black border from the bottom 2008-10-16 21:25 arty 2008-10-16 21:25 I used a 250 shutter speed 2008-10-16 21:25 that background is fine 2008-10-16 21:26 the cap is 200 for 10d 2008-10-16 21:26 what's the black at the bottom? 2008-10-16 21:26 it's the shutter :D 2008-10-16 21:26 so how'd you get 250? 2008-10-16 21:26 ah 2008-10-16 21:26 the 250 was the shutter speed 2008-10-16 21:26 you can tell it do do it, it won't 2008-10-16 21:27 sorry? 2008-10-16 21:27 you can set it to 1/250, but they you get a picture of the shutter, no? 2008-10-16 21:27 and thought the shutter moved left to right 2008-10-16 21:28 not top to bottom 2008-10-16 21:28 I thought I meant 2008-10-16 21:28 it's top to bottom in slr :D 2008-10-16 21:28 ok, and to 1/8000 in the 20d 2008-10-16 21:28 the sync with the flash will be also aroun 1/200 2008-10-16 21:28 or 1/250... 2008-10-16 21:29 you are a more leet photog than me 2008-10-16 21:29 I haven't even gotten into flash sync let 2008-10-16 21:29 yet 2008-10-16 21:29 btw: in my lab the colors are very nice with a color balance of 4000K 2008-10-16 21:30 lab? 2008-10-16 21:30 the office 2008-10-16 21:30 let me see, it means everything is very blue there? 2008-10-16 21:31 we have fluorescent light 2008-10-16 21:31 condolences 2008-10-16 21:31 I use to shoot using the fluorescent setting but the 4000K is much better 2008-10-16 21:31 just twist the tubes out 2008-10-16 21:31 which have 5500K? like the natural light? 2008-10-16 21:31 is that what it is? 2008-10-16 21:32 (the flash sync for 20d is 1/250, congrats :P) 2008-10-16 21:32 I think the color balance doesn't really affect the camera settings, just the jpg conversion 2008-10-16 21:32 so going on that theory, I always shoot raw and never change the temperature 2008-10-16 21:32 I shoot raw for some time 2008-10-16 21:33 the size of the files and the processing was too much for me :P 2008-10-16 21:33 now I'm using jpg so I need to set it right :D 2008-10-16 21:33 they haven't really improved on the 20d mechanics in the 30d and 40d 2008-10-16 21:33 bad canon 2008-10-16 21:33 still 200 ms/shot is the state of the art for prosumer 2008-10-16 21:34 raw is quite comfortable on the 20d 2008-10-16 21:34 except sometimes you have to wait for a shot while the transfer to flash is in progress 2008-10-16 21:34 do you shoot a lot? 2008-10-16 21:34 can fix that with a faster flash card 2008-10-16 21:34 is 5,000 shots/year a lot? 2008-10-16 21:35 not really... 2008-10-16 21:35 right 2008-10-16 21:35 more than most people, less than a true photog 2008-10-16 21:35 we have about 1000 per month 2008-10-16 21:35 that's what I did when I first got it 2008-10-16 21:36 (shoot at 4000K: http://farm4.static.flickr.com/3223/2893706927_bbfc0360d7_b.jpg ) 2008-10-16 21:36 we took so far 33K of pictures... 2008-10-16 21:36 major boca 2008-10-16 21:36 from mid 2003 till now 2008-10-16 21:36 major boca? 2008-10-16 21:37 fuzzy background 2008-10-16 21:37 did I spell that right? 2008-10-16 21:37 spanish? :D 2008-10-16 21:37 camera term 2008-10-16 21:38 we use a cheap 50mm f1.8 2008-10-16 21:38 best for boca 2008-10-16 21:38 bokeh? 2008-10-16 21:38 prime 2008-10-16 21:38 right 2008-10-16 21:38 http://en.wikipedia.org/wiki/Bokeh ? 2008-10-16 21:38 that's the one 2008-10-16 21:38 we only have two zoom lens 2008-10-16 21:38 considered high art 2008-10-16 21:39 all the rest are primes 2008-10-16 21:39 I have yet to get a prime lens 2008-10-16 21:39 just been lazy 2008-10-16 21:39 I like primes because you don't have the problem of zooming ;-) 2008-10-16 21:39 I shoot with this almost exclusively: http://www.the-digital-picture.com/reviews/Canon-EF-S-17-55mm-f-2.8-IS-USM-Lens-Review.aspx 2008-10-16 21:40 barely fits in my holster bag 2008-10-16 21:40 nice!! 2008-10-16 21:40 2.8... IS :D 2008-10-16 21:40 get lots of attention 2008-10-16 21:40 people wonder what is the point of all that glass 2008-10-16 21:40 one of our zooms is the 17-40 F4 :P 2008-10-16 21:40 weighs a kilo, more than the camera 2008-10-16 21:40 the 2.8 :P 2008-10-16 21:41 http://www.flickr.com/gp/46249124@N00/U5gk98 some of the speakers from our CS Seminar 2008-10-16 21:41 can do some nice things with the IS 2008-10-16 21:41 I use the 85mm f1.8 2008-10-16 21:41 like shoot without flash in dim light 2008-10-16 21:41 I don't have any IS lens 2008-10-16 21:41 cool :D 2008-10-16 21:41 anyway, time to go do family stuff 2008-10-16 21:42 I'll be back working on the next post later 2008-10-16 21:42 have a nice evening! 2008-10-16 21:42 you too 2008-10-16 21:42 thanks for the lesson 2008-10-16 21:42 thanks for coming 2008-10-16 21:42 well... I did the easy thing :P 2008-10-16 21:42 this is eventually going to turn into a book I think 2008-10-16 21:42 :D 2008-10-16 21:42 not many people need to read this book, but those who do need it bad 2008-10-16 21:43 I would love to do a fast fwd to see it ;-) 2008-10-16 22:46 ¨hey 2008-10-16 22:46 hi 2008-10-16 22:47 funny, I've been thinking about getting a canon G10 2008-10-16 22:47 seems to be the biggest bang for the buck at this time 2008-10-16 22:47 flips: how's it going ? 2008-10-16 22:48 ACTION is playing around with some lockdep/stat related changes to track rq lock contention 2008-10-16 22:48 going fine 2008-10-16 22:48 bh: dslr elitests wont speak of such a camera 2008-10-16 22:49 shapor: really ? don't like it ? 2008-10-16 22:49 powershot says it all 2008-10-16 22:49 or is it the case that it makes their purchase look bad ? 2008-10-16 22:49 ACTION is not a dslr elitest like flips 2008-10-16 22:49 20d can be had for $450 now 2008-10-16 22:49 now reason not to get a real camera 2008-10-16 22:49 yeah, but that's older technology 2008-10-16 22:49 point and shoots are much better 2008-10-16 22:50 beats heck out of any point n shoot 2008-10-16 22:50 more likely to have it with you when you want it 2008-10-16 22:50 because of optics ? 2008-10-16 22:50 still gets oohs an ahs pretty much every time it comes out of the bag 2008-10-16 22:50 like with a normal 50mm lens and stuff ? 2008-10-16 22:50 most people on the dslr bandwagon are poor photographers who dont even use 1% of the 100's of features their cameras have 2008-10-16 22:50 I'm interested in night photography, indoor club stuff 2008-10-16 22:50 posers... 2008-10-16 22:50 shapor: I agree 2008-10-16 22:51 shapor, and most people aren't posers period? 2008-10-16 22:51 which is why I went with a good consumer casio 2008-10-16 22:51 why limit the discussion to photo posers? 2008-10-16 22:51 it's done well for me and taken tons of punishment from the playa, etc... 2008-10-16 22:51 also its a huge plus being able to have a camera you dont mind dropping or taking on a camping trip for fear of getting ruined 2008-10-16 22:51 I'm never going to get any really expensive lens so I'm seriously thinking about a G10 2008-10-16 22:52 or be burdened with its weight 2008-10-16 22:52 something about that big fat Ka-LICK is addictive 2008-10-16 22:52 my gf has a nikon dslr w/a few $1500+ lenses 2008-10-16 22:52 its more of a hassle than anything else 2008-10-16 22:52 nikon... 2008-10-16 22:52 gotta have a rediculously big tripod to hold it stable 2008-10-16 22:53 totaly not worth it 2008-10-16 22:53 I still manage to fit mine in a holster 2008-10-16 22:53 just barely 2008-10-16 22:53 kind of bulges 2008-10-16 22:53 my sony that fits in my pocket i can prop up on my jacket and take 30s exposures with has gotten much better use 2008-10-16 22:53 can the ex-pro photographer weigh in here? 2008-10-16 22:54 get the lumix or the leica 2008-10-16 22:54 pro's have to stay quiet ;) 2008-10-16 22:54 same optics 2008-10-16 22:54 flips: see even the pro agrees :P 2008-10-16 22:54 great compact camera 2008-10-16 22:54 yeah i considered the lumix 2008-10-16 22:54 wide lens is nice 2008-10-16 22:54 he's just trying not to shame you in public ;) 2008-10-16 22:55 i found their noise reduction a bit dated 2008-10-16 22:55 lumix? 2008-10-16 22:55 yeah 2008-10-16 22:55 uh oh 2008-10-16 22:55 on the panasonic anyway 2008-10-16 22:55 persie 2008-10-16 22:55 everybody knows that in the circles timothy used to move in there are only canon and nikon marks to be seen 2008-10-16 22:55 i think the leica has different software 2008-10-16 22:55 although i may be wrong 2008-10-16 22:55 it does 2008-10-16 22:55 and its better 2008-10-16 22:55 yeah 2008-10-16 22:55 that's why I bought it 2008-10-16 22:56 $100 more or so 2008-10-16 22:56 noise reduction should be done offline 2008-10-16 22:56 let's argue about roller skates next 2008-10-16 22:56 flips: how often do you shoot raw? 2008-10-16 22:57 its a pita 2008-10-16 22:57 big files 2008-10-16 22:57 with post processing 2008-10-16 22:57 if you want to do anything with it 2008-10-16 22:57 do any of the cameras do lossless compression? 2008-10-16 22:58 i alwys wondered why they didnt 2008-10-16 22:58 shapor, always shoot raw 2008-10-16 22:58 some do lzw 2008-10-16 22:58 i always shoot jpegs 2008-10-16 22:58 unless its for money 2008-10-16 22:58 yeah i can fill a 4GB card with jpgs between dumps 2008-10-16 22:58 raws would kill that 2008-10-16 22:59 flips: how's tux3 development going. Seeing that various bug fixes went in about a week ago, but I'm assuming that you're working on other stuff that's yet to be committed. 2008-10-16 22:59 I shoot about 200 pics a day on the theory it's not a video camera 2008-10-16 22:59 i shoot with my iPhone just to annoy my linux geek friends 2008-10-16 22:59 bh, working on a follow up atomic commit degisn post 2008-10-16 22:59 tim_dimm: :) 2008-10-16 23:00 flips: so you're working on atomic commits now ? 2008-10-16 23:00 yes 2008-10-16 23:00 last big thing before kernel port 2008-10-16 23:01 tim_dimm, you got off some decent shots in spite of the beyond belief shutter lag 2008-10-16 23:01 noisy, but in focus 2008-10-16 23:01 the 3G has a much nicer camera 2008-10-16 23:02 better shadow detail 2008-10-16 23:02 nicer lens 2008-10-16 23:02 get a gphone 2008-10-16 23:02 ACTION hides 2008-10-16 23:02 its getting ripped for usability 2008-10-16 23:02 too many buttons 2008-10-16 23:02 remember, I've been using a one button mouse for years 2008-10-16 23:02 http://shapor.com/pics/trips/out_west-2004-10-11/vegas/.html/IMAG0249.JPG.html 2008-10-16 23:02 ;-) 2008-10-16 23:02 macheads get confused by buttons I know 2008-10-16 23:02 ^ reason i use a cheap camera 2008-10-16 23:02 peeceers like them 2008-10-16 23:02 flips: reading your post now 2008-10-16 23:03 what gear? 2008-10-16 23:03 cause that looks like 12k rpm 2008-10-16 23:03 exposure issues? 2008-10-16 23:03 based on the speedo, 6th 2008-10-16 23:03 (thats the 600) 2008-10-16 23:03 160? 2008-10-16 23:03 oh 2008-10-16 23:03 146 i think 2008-10-16 23:04 clutch cable is kinda blocking it 2008-10-16 23:04 lcd speedo 2008-10-16 23:04 tim_dimm, if you get a gphone you can use the gps to measure your speed 2008-10-16 23:04 ...maybe 2008-10-16 23:04 actually I think it's just fake cell tower gps 2008-10-16 23:04 i've dropped 3 cameras off the bike now :( 2008-10-16 23:05 explains your attachment to point n shoots 2008-10-16 23:05 i should maybe a tether 2008-10-16 23:05 no emotional involvement 2008-10-16 23:05 make* 2008-10-16 23:06 that was a $69 vivitar from walmart 6 years ago 2008-10-16 23:06 http://shapor.com/pics/trips/out_west-2004-10-11/vegas/.html/IMAG0270.JPG.html 2008-10-16 23:06 thats right off the camera, no effects, heh 2008-10-16 23:06 super slow processing 2008-10-16 23:06 focal plane effect? 2008-10-16 23:06 no 2008-10-16 23:07 must be sensor scanout 2008-10-16 23:07 but... 2008-10-16 23:07 yeah 2008-10-16 23:07 the later pixels would be overexposed if that were the case 2008-10-16 23:07 it may compensate for that 2008-10-16 23:08 dunno 2008-10-16 23:08 that would be a trick 2008-10-16 23:08 what kind of shutter? 2008-10-16 23:08 a $69 walmart one back in 2002 ;) 2008-10-16 23:08 certainly digital 2008-10-16 23:09 digital shutter? 2008-10-16 23:09 ACTION doubts there is such a thing 2008-10-16 23:09 non-mechanical 2008-10-16 23:09 like a phone has, right? 2008-10-16 23:09 hmm 2008-10-16 23:09 aka cheap 2008-10-16 23:09 hm maybe its not that bad 2008-10-16 23:10 also running off commodity battery is a key feature i look for 2008-10-16 23:10 AA or AAA 2008-10-16 23:11 in a pinch all you do is stop at a gas station 2008-10-16 23:11 instead of this recharging business 2008-10-16 23:11 but the big canon battery will drive the built in flash all day 2008-10-16 23:12 you'd have a bag full of dead aa's 2008-10-16 23:12 actually a pocket full of them 2008-10-16 23:12 ammo for cars who cut you off 2008-10-16 23:12 dual purpose ;) 2008-10-16 23:15 oh, I just need to learn to frame my thoughts the right way 2008-10-16 23:16 :) 2008-10-16 23:16 ACTION heads down to wallmart to pick up a point n shoot and a shopping back fulla aa's 2008-10-16 23:16 flip the evil switch on, i'm sure you have one 2008-10-16 23:16 I parked illegally once 2008-10-16 23:17 I parked legally once 2008-10-16 23:19 trying to decide now whether I should call the thing that has a commit block a quantum or not 2008-10-16 23:21 what would be a better word? 2008-10-16 23:21 phase? 2008-10-16 23:21 phase is already used, a phase is made up of quanta at the moment 2008-10-16 23:21 and an episode is made up of phases 2008-10-16 23:21 whats a quantum made up of? 2008-10-16 23:22 pointers to extents 2008-10-16 23:22 and pointers to parent blocks to plug them into 2008-10-16 23:22 why isn't that just a commit block? 2008-10-16 23:23 there are commit blocks for each of quanta, phases and episodes 2008-10-16 23:23 so it would be a quantum commit block ;) 2008-10-16 23:23 sounds cool for sure 2008-10-16 23:40 -!- pranith(ca4bcee2@webchat.mibbit.com) has joined #tux3 2008-10-16 23:40 hey all 2008-10-16 23:42 hi pranith 2008-10-16 23:49 flips: hello 2008-10-16 23:50 you were going to post a new mail? 2008-10-16 23:50 working on it 2008-10-16 23:50 maybe 30% done 2008-10-16 23:50 what is it about? 2008-10-16 23:51 details of how we get the writeout pattern I wrote about in the previous post 2008-10-16 23:51 hmm 2008-10-16 23:51 pretty much the most important issue besides the versioned pointers 2008-10-16 23:52 ok 2008-10-16 23:52 looking forward to it 2008-10-16 23:52 i was seeing the sandeepranade's time machine implementation using ext3cow... 2008-10-16 23:53 one thing i wanted to ask.. using versioned pointers how many copies can we store at a time? 2008-10-16 23:53 like if i use bittorrent.. the blocks keep changing all the time.. 2008-10-16 23:53 how do you handle such situations? 2008-10-16 23:54 we drop off old versions to make room for new ones 2008-10-16 23:54 without doing anything special, we can store about 500 versions 2008-10-16 23:54 hmm, we keep the versions until we run out of space? 2008-10-16 23:54 or 8,000 if we save some bits as discussed on the list, using the buddy system idea 2008-10-16 23:54 that might lead to fragmentation... 2008-10-16 23:54 you don't have to 2008-10-16 23:54 but you will be able to 2008-10-16 23:54 hmm 2008-10-16 23:55 we did that in zumastor with success 2008-10-16 23:55 so we can tune that number of versions? 2008-10-16 23:55 that part's not designed yet 2008-10-16 23:55 -!- pranith(ca4bcee2@webchat.mibbit.com) has joined #tux3 2008-10-16 23:55 would be very useful though 2008-10-16 23:55 it asnwers the question, how do you avoid enospc when writing to a filesystem holding lots of snapshots 2008-10-16 23:56 hmm... yeah 2008-10-16 23:57 where might we be storing this information? 2008-10-16 23:57 if given as an option?