Re: removing an ext2fs file forces disk activity

2002-04-24 Thread Diego Roversi
at system call used by gprof'ed executable take in account only a thread so results can be not completly significative. A mono thread (or bi-thread) server can help in profile it, it would better than nothing. PS: I've also already post some results and comparison of hurd vs

Re: removing an ext2fs file forces disk activity

2002-03-28 Thread Diego Roversi
in the ext2fs translator, I found that caching of data is often inconsisten. I mean, rerunning the same test program that made always the same file access, sometimes made disk access and sometimes not. I always wondered why... -- Saluti / Regards Diego Roversi |

Re: console plans

2002-02-14 Thread Diego Roversi
. Have you take a look to SuperVGATextMode? It is a nice program for linux, that can change text mode programming the VGA. You probably find a lot of information about programming text mode for VGA & superVGA. -- Saluti / Regards Diego Roversi | diegor at maganet.net

Re: Hurd on bochs

2002-02-02 Thread Diego Roversi
rd, and skipping this error, it booted hurd, but Hurd dies with messages about ipc timeout. I suppose that Hurd is sensible to *very* slow PC, like the emulated one. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it _

Re: Store FS related questions

2002-01-17 Thread Diego Roversi
d with a "substore" that can shrink or grow at will. That happens because you can't know how well data can be compressed. The only way to handle correctly is to compress the data at fs layer (see e2compress: a modified ext2). -- Saluti / Regards Diego Roversi | diegor at maga

Re: serial port not working correctly (you better read it if you want PPP)

2002-01-03 Thread Diego Roversi
2; pdma_water_mark[B9600] = i; pdma_water_mark[EXTA] = i; /* >14400 baud */ pdma_water_mark[EXTB] = i; /* >19200 baud */ pdma_water_mark[B57600] = i; pdma_water_mark[B115200] = i; - +#endif + return; } -- Saluti / Regards Diego Roversi | diegor at maganet.net

Re: benchmark and profiling

2002-01-02 Thread Diego Roversi
when exit() is invoked, after the reply. For this reason I call _mcleanup() before reply, and rename the file to avoid that a gmon.out to be overwritten when _mcleanup() is called a second time from inside exit(). For some misterius reason sleep helps also... Thank you. -- Saluti / Regards

Re: benchmark and profiling

2001-12-31 Thread Diego Roversi
necessary, btw before running gprof, remember to rename back gmon.out to gmon.out. The _mcleanup() forces the process to produce the gmon.out file. That's all folk. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___

benchmark and profiling

2001-12-28 Thread Diego Roversi
. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: debugging a pager

2001-12-28 Thread Diego Roversi
see the stack of the offending thread, but I can't use step and next command, they work like continue. The only way is to set a lot of breakpoint in the target function, but maybe I'm still missing something. TIA. -- Saluti / Regards Diego Roversi | diegor at mag

debugging a pager

2001-12-19 Thread Diego Roversi
ng very similar to my suggested function. TIA. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

how does gnumach/hurd cache data on disk?

2001-12-01 Thread Diego Roversi
from disk. Of course I'm pleanty of free RAM. Bigger file (16Mb) is always reread from disk. I hope that some gnumach/hurd expert can explain this strange behaviour. TIA -- Saluti / Regards Diego Roversi | diegor at maganet.net

A question about gnumach...

2001-11-18 Thread Diego Roversi
bytes_wanted: int; out data: io_buf_ptr_t ); But I don't understand why there are two arguments: recnum and bytes_wanted. Only one of them is not enough? There is some documentation somewhere about this system call? TIA --- Saluti / Regards

Re: slow access to files

2001-11-08 Thread Diego Roversi
l > mmapping mechanisms can be improved to cache better? I think so. Beside of the limit of device size, mmaping the device is the more efficient and elegant solution. For example in this way phisic memory can be fairly used among process and caching data, instead of having a fixed size cache in st

Re: slow access to files

2001-11-08 Thread Diego Roversi
w integrate the cache in storeio/libstore. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

Re: slow access to files

2001-11-06 Thread Diego Roversi
e storeio. Any suggestion? TIA -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

slow access to files

2001-11-05 Thread Diego Roversi
an be useful implementing caching, for example, in the storeio translator? I've also noted that during compiling hurd, there is a lot free memory avaible, so why don't we use it? TIA. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor a

[patch] fixed serial handling in gnumach

2001-10-19 Thread Diego Roversi
pdma_water_mark[B57600] = i; pdma_water_mark[B115200] = i; - +#endif + return; } -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd

[patch] serial line

2001-10-12 Thread Diego Roversi
O water_mark is how much incoming data is collected before being processed. I don't understand why water_mark must decrease at higher speed. BTW the values for speed of 38400 or greater was found out with some experiments. That's all for the moment... -- Saluti / Reg

serial port problem

2001-10-06 Thread Diego Roversi
a to the application level? TIA, Diego Roversi. -- Saluti / Regards Diego Roversi | diegor at maganet.net | diegor at tiscalinet.it ___ Bug-hurd mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-hurd