[9fans] odd constants in mkfs

2014-06-19 Thread erik quanstrom
i was moving ~400gb to a new other file system, and noticed that mkfs was extremely slow. it turns out that mkfs by default moves 1024-8 bytes at a time. i'm pretty sure this magical number turns out to be the default kfs block size minus the size of the tag (careful with that ax, eugene). ok, bu

[9fans] cache lines, and 60000 cycles of doom

2014-06-19 Thread erik quanstrom
i'm seeing some mighty interesting timing on my intel ivy bridge. i found a bug in the file server aoe implementation (can't happen if you're using the uniprocessor x86 version) that happens because the Srb is freed before wakeup completes. to solve this there is some code that sets the state (thi

[9fans] some bios+usb+cinap's loader = slow

2014-06-19 Thread erik quanstrom
and by slow, i mean loading the kernel takes 3-4 minutes. :-) writing the kernel to usb from user space takes ~5s. has anyone else seen this, or taken a look? - erik

Re: [9fans] some bios+usb+cinap's loader = slow

2014-06-19 Thread Aram Hăvărneanu
What BIOS? -- Aram Hăvărneanu

Re: [9fans] some bios+usb+cinap's loader = slow

2014-06-19 Thread erik quanstrom
On Thu Jun 19 19:25:18 EDT 2014, ara...@mgk.ro wrote: > What BIOS? > harness# aux/dmi 0: type biosinfo 0 len 24 handle 0 vendor American Megatrends Inc. version 1.0 biosstartseg0xf000 biosdate05/05/2009 biosromsz 0x000f

Re: [9fans] cache lines, and 60000 cycles of doom

2014-06-19 Thread Devon H. O'Dell
Weird. I assume cycles is using rdtsc or rdtscp. Perhaps some of it is due to a combination of contention and rdtsc(p) being serializing instructions? On Jun 19, 2014 12:04 PM, "erik quanstrom" wrote: > i'm seeing some mighty interesting timing on my intel ivy bridge. > i found a bug in the file

Re: [9fans] cache lines, and 60000 cycles of doom

2014-06-19 Thread Bakul Shah
On Thu, 19 Jun 2014 12:01:10 EDT erik quanstrom wrote: > i'm seeing some mighty interesting timing on my intel ivy bridge. > i found a bug in the file server aoe implementation (can't happen > if you're using the uniprocessor x86 version) that happens because > the Srb is freed before wakeup compl