Re: Disk block or sector to file mapping?

2007-06-13 Thread Anton Yuzhaninov
findblk disk_block_number -- Anton Yuzhaninov.

Re: tcp connection splitter

2007-04-12 Thread Anton Yuzhaninov
Try see FSM server model (e. g. using libevent). If all clients served by single thread, and signle process (using noblocking sockets) then no locks need. This model scale up to 50k-100k connections per host. -- Anton Yuzhaninov. ___ [EMAIL PROTECTE

Why max mmap size limited to half of virtual address space?

2007-03-12 Thread Anton Yuzhaninov
return (EINVAL); (ssize_t) uap->len < 0 limit maximum value for uap->len to SIZE_T_MAX/2 May be this check can be removed? It test it on FreeBSD 6.2 i386 - without this check a can map 2400 Mb file. Also mmap man page say, that 2 Gb limit was a documentation bug, but this limit st