[9fans] small acid trip

2010-06-15 Thread ron minnich
term% ys/src/libc/9sys/ctime.cif(i < 0) 597 date Open 77c9/"/env/timezone" = 4 "" 0x11b7720437d8a6f0 0x11b7720437d9a4d8 /sys/src/libc/9sys/read.c return pread(fd, buf, n, -1LL); 597 date Pread 4 0854/"EST.-18000.EDT.-144009943200...25664400...41392800

[9fans] Inducing artificial latency

2010-06-15 Thread John Floren
I'm going to be doing some work with 9P and high-latency links this summer and fall. I need to be able to test things over a high-latency network, but since I may be modifying the kernel, running stuff on e.g. mordor is not the best option. I have enough systems here to do the tests, I just need to

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Jorden M
On Tue, Jun 15, 2010 at 5:29 PM, John Floren wrote: > I'm going to be doing some work with 9P and high-latency links this > summer and fall. I need to be able to test things over a high-latency > network, but since I may be modifying the kernel, running stuff on > e.g. mordor is not the best optio

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Devon H. O'Dell
2010/6/15 John Floren : > I'm going to be doing some work with 9P and high-latency links this > summer and fall. I need to be able to test things over a high-latency > network, but since I may be modifying the kernel, running stuff on > e.g. mordor is not the best option. I have enough systems here

Re: [9fans] Inducing artificial latency

2010-06-15 Thread erik quanstrom
> I've come up with a basic idea, but before I go diving in I want to > run it by 9fans and get opinions. What I'm thinking is writing a > synthetic file system that will collect writes to /net; to simulate a > high-latency file copy, you would run this synthetic fs, then do "9fs > remote; cp /n/re

Re: [9fans] Inducing artificial latency

2010-06-15 Thread David Leimbach
On Tue, Jun 15, 2010 at 2:39 PM, erik quanstrom wrote: > > I've come up with a basic idea, but before I go diving in I want to > > run it by 9fans and get opinions. What I'm thinking is writing a > > synthetic file system that will collect writes to /net; to simulate a > > high-latency file copy,

Re: [9fans] Inducing artificial latency

2010-06-15 Thread erik quanstrom
> > the only trick will be getting the simulated ethernet to > > grab the real ethernet during setup. i imagine that you'll > > need something like > >ether0=type=fake > >fake=real=#l1/ether1 i=10 iσ=20 o=5 oσ=0 > > in plan9.ini > > > > - erik > > > > Could one write a filesystem s

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Gorka Guardiola
On Tue, Jun 15, 2010 at 11:29 PM, John Floren wrote: > I'm going to be doing some work with 9P and high-latency links this > summer and fall. I need to be able to test things over a high-latency > network, but since I may be modifying the kernel, running stuff on > e.g. mordor is not the best opti

Re: [9fans] Inducing artificial latency

2010-06-15 Thread erik quanstrom
> Last time I needed something similar, I just run a modified iostats. how does iostats add latency? - erik

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Enrique Soriano
On Tue, Jun 15, 2010 at 11:39 PM, Jorden M wrote: > On Tue, Jun 15, 2010 at 5:29 PM, John Floren wrote: >> I'm going to be doing some work with 9P and high-latency links this >> summer and fall. I need to be able to test things over a high-latency >> network, but since I may be modifying the kern

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Gorka Guardiola
On Wed, Jun 16, 2010 at 12:07 AM, erik quanstrom wrote: >> Last time I needed something similar, I just run a modified iostats. > > how does iostats add latency? > hence the modified. -- - curiosity sKilled the cat

Re: [9fans] Inducing artificial latency

2010-06-15 Thread John Floren
On Tue, Jun 15, 2010 at 5:45 PM, Devon H. O'Dell wrote: > 2010/6/15 John Floren : >> I'm going to be doing some work with 9P and high-latency links this >> summer and fall. I need to be able to test things over a high-latency >> network, but since I may be modifying the kernel, running stuff on >>

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Devon H. O'Dell
2010/6/15 John Floren : > On Tue, Jun 15, 2010 at 5:45 PM, Devon H. O'Dell > wrote: >> 2010/6/15 John Floren : >>> I'm going to be doing some work with 9P and high-latency links this >>> summer and fall. I need to be able to test things over a high-latency >>> network, but since I may be modifyin

Re: [9fans] Inducing artificial latency

2010-06-15 Thread Skip Tavakkolian
any reason loopback(3) wont work? it has options for delay and latency. > I'm going to be doing some work with 9P and high-latency links this > summer and fall. I need to be able to test things over a high-latency > network, but since I may be modifying the kernel, running stuff on > e.g. mordor i