9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fs benchmark
@ 2005-08-04 18:56 Gorka guardiola
  2005-08-04 21:40 ` Steve Simon
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Gorka guardiola @ 2005-08-04 18:56 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Do any of you have a benchmark for measuring how fast a filesystem is
for plan 9?.
Read, writes, creates...
It doesnt take too much time to write one, but if anyone has already done it...

TIA.
-- 
- curiosity sKilled the cat


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] fs benchmark
  2005-08-04 18:56 [9fans] fs benchmark Gorka guardiola
@ 2005-08-04 21:40 ` Steve Simon
  2005-08-04 22:05 ` [9fans] #D/ssl/n arisawa
  2005-08-05  8:05 ` [9fans] fs benchmark Scott Schwartz
  2 siblings, 0 replies; 7+ messages in thread
From: Steve Simon @ 2005-08-04 21:40 UTC (permalink / raw)
  To: paurea, 9fans

> Do any of you have a benchmark for measuring how fast a filesystem is
> for plan 9?.
> Read, writes, creates...
> It doesnt take too much time to write one, but if anyone has already done it...

iostats(4)

-Steve


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [9fans] #D/ssl/n
  2005-08-04 18:56 [9fans] fs benchmark Gorka guardiola
  2005-08-04 21:40 ` Steve Simon
@ 2005-08-04 22:05 ` arisawa
  2005-08-05  3:59   ` Russ Cox
  2005-08-05  8:05 ` [9fans] fs benchmark Scott Schwartz
  2 siblings, 1 reply; 7+ messages in thread
From: arisawa @ 2005-08-04 22:05 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

Hello,

one of my hosts is rejecting cpu command.

term% cpu -h co
cpu: waiting for FS: Hangup: Hangup
term%
or more simply
term% cpu -h co
cpu: waiting for FS: :
term%

the host left message in /sys/log/cpu:
cpu: srvauth: can't establish ssl connection: no free devices

this message comes from srvp9auth(int fd, char *user) in cpu.c
         /* set up encryption */
         i = pushssl(fd, ealgs, fromserversecret, fromclientsecret, nil);
         if(i < 0)
                 werrstr("can't establish ssl connection: %r");

pushssl() in   /sys/src/libc/9sys/pushssl.c is
         ctl = open("#D/ssl/clone", ORDWR);
         if(ctl < 0)
                 return -1;

really
% cat '#D/ssl/clone'
cat: can't open #D/ssl/clone: no free devices
% ls '#D/ssl'|wc
     129     129    1569
note #D/ssl include clone, therefore
% ls '#D/ssl'|grep -v clone|wc
     128     128    1554

Questions
(1) 128 is the limit of #D/ssl/n ?
(2) why #D/ssl/n is not freed ?
(3) what happened with my host if it should be freed ? any suggestion 
welcome.
(4) how to fix? rebooting is required ?

thanks in advance.

Kenji Arisawa



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] #D/ssl/n
  2005-08-04 22:05 ` [9fans] #D/ssl/n arisawa
@ 2005-08-05  3:59   ` Russ Cox
  2005-08-05  5:29     ` arisawa
  0 siblings, 1 reply; 7+ messages in thread
From: Russ Cox @ 2005-08-05  3:59 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

> (1) 128 is the limit of #D/ssl/n ?

x40=; grep 128 /sys/src/9/*/devssl.c
	Maxdstate=	128,	/* must be a power of 2 */

> (2) why #D/ssl/n is not freed ?

maybe they are in use.  grep /ssl/ /proc/*/fd | wc

> (3) what happened with my host if it should be freed ? any suggestion
> welcome.

kill the programs that are using them.
unless it's a kernel leak.

> (4) how to fix? rebooting is required ?

if it's really a kernel leak and not just programs
using them all, then yes you'll need to reboot.

russ


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] #D/ssl/n
  2005-08-05  3:59   ` Russ Cox
@ 2005-08-05  5:29     ` arisawa
  0 siblings, 0 replies; 7+ messages in thread
From: arisawa @ 2005-08-05  5:29 UTC (permalink / raw)
  To: Russ Cox, Fans of the OS Plan 9 from Bell Labs

Hello Russ,

Thanks for your quick reply.

> maybe they are in use.  grep /ssl/ /proc/*/fd | wc
>

term% rx co rc -i
% grep ssl /proc/*/fd | wc
       0       0       0
% ls '#D/ssl' |wc
     129     129    1569
% cat '#D/ssl/clone'
cat: can't open #D/ssl/clone: no free devices
%

a kernel leak ?

Kenji Arisawa



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] fs benchmark
  2005-08-04 18:56 [9fans] fs benchmark Gorka guardiola
  2005-08-04 21:40 ` Steve Simon
  2005-08-04 22:05 ` [9fans] #D/ssl/n arisawa
@ 2005-08-05  8:05 ` Scott Schwartz
  2005-08-05 15:30   ` Jack Johnson
  2 siblings, 1 reply; 7+ messages in thread
From: Scott Schwartz @ 2005-08-05  8:05 UTC (permalink / raw)
  To: Gorka guardiola, Fans of the OS Plan 9 from Bell Labs

| Do any of you have a benchmark for measuring how fast a filesystem is
| for plan 9?.

lmbench, with some hacking, and APE, maybe.



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [9fans] fs benchmark
  2005-08-05  8:05 ` [9fans] fs benchmark Scott Schwartz
@ 2005-08-05 15:30   ` Jack Johnson
  0 siblings, 0 replies; 7+ messages in thread
From: Jack Johnson @ 2005-08-05 15:30 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

On 5 Aug 2005 04:05:11 -0400, Scott Schwartz <schwartz@bio.cse.psu.edu> wrote:
> | Do any of you have a benchmark for measuring how fast a filesystem is
> | for plan 9?.
> 
> lmbench, with some hacking, and APE, maybe.

I was thinking the same thing, but maybe with bonnie:

http://www.textuality.com/bonnie/

-Jack


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-08-05 15:30 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-04 18:56 [9fans] fs benchmark Gorka guardiola
2005-08-04 21:40 ` Steve Simon
2005-08-04 22:05 ` [9fans] #D/ssl/n arisawa
2005-08-05  3:59   ` Russ Cox
2005-08-05  5:29     ` arisawa
2005-08-05  8:05 ` [9fans] fs benchmark Scott Schwartz
2005-08-05 15:30   ` Jack Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).