Re: SuperPages utilization survey

2012-06-02 Thread Lev Serebryakov
Hello, Ivan. You wrote 1 июня 2012 г., 16:23:42: IV> http://people.freebsd.org/~ivoras/stuff/spsurvey_desktop.txt IV> http://people.freebsd.org/~ivoras/stuff/spsurvey_mixserver.txt IV> http://people.freebsd.org/~ivoras/stuff/spsurvey_webserver.txt Home storage server / torrent box: http://lev.

BHyVe - few questions as i don't catch on idea

2012-06-02 Thread Wojciech Puchar
i am very happy of such software being done - natively on freebsd. it seems very logic - separate memory for main FreeBSD system and separate for VMs, main FreeBSD system handles I/O. Great but i really don't understand what is the sense to run FreeBSD VM under FreeBSD - and that's what now it

Re: SuperPages utilization survey

2012-06-02 Thread Florian Smeets
On 02.06.12 10:14, Lev Serebryakov wrote: > Hello, Ivan. > You wrote 1 июня 2012 г., 16:23:42: > > IV> http://people.freebsd.org/~ivoras/stuff/spsurvey_desktop.txt > IV> http://people.freebsd.org/~ivoras/stuff/spsurvey_mixserver.txt > IV> http://people.freebsd.org/~ivoras/stuff/spsurvey_webserver.

Re: SuperPages utilization survey

2012-06-02 Thread Wojciech Puchar
You have to explicitly enable it in mysql: add "large-pages" to the [mysqld] section of my.cnf what actually this option do in mysql? Total accounted memory mappings: 7775 MB (1990412 pages) Memory in superpages: 5414 MB (3 mappings) pid: 27208 (mysqld) start: 80240 stop: 81680

Re: SuperPages utilization survey

2012-06-02 Thread Florian Smeets
On 02.06.12 10:54, Wojciech Puchar wrote: >> You have to explicitly enable it in mysql: >> >> add "large-pages" to the [mysqld] section of my.cnf > > what actually this option do in mysql? > In my words i would say "It enables mysql to use super-pages/large-pages". The complete documentation is

Re: detailed map of WIRED memory under FreeBSD 9

2012-06-02 Thread Andrey Zonov
On 6/1/12 12:19 PM, Wojciech Puchar wrote: what tool and how can be used to display detailed map what exactly wired memory on my system as it is far way too much (1.5GB out of 4GB RAM). I think `vmstat -m' and `vmstat -z' can help you. i do run 4 virtualboxes but one have 256MB RAM, the othe

Re: SuperPages utilization survey

2012-06-02 Thread Wojciech Puchar
In my words i would say "It enables mysql to use super-pages/large-pages". i asked the question wrong. the right should be "how does it do". Because i am not aware about any user level interface in FreeBSD to explicitly request superpage mapping. The complete documentation is here htt

Re: detailed map of WIRED memory under FreeBSD 9

2012-06-02 Thread Wojciech Puchar
memory on my system as it is far way too much (1.5GB out of 4GB RAM). I think `vmstat -m' and `vmstat -z' can help you. yes it helped. thank you. the problem is that it doesn't display what virtualbox (and it's kernel addon) do. i do run 4 virtualboxes but one have 256MB RAM, the other

Re: SuperPages utilization survey

2012-06-02 Thread Ivan Voras
On 2 June 2012 12:29, Wojciech Puchar wrote: >>> >> >> In my words i would say "It enables mysql to use super-pages/large-pages". > > i asked the question wrong. the right should be "how does it do". Because i > am not aware about any user level interface in FreeBSD to explicitly request > superpa

Re: SuperPages utilization survey

2012-06-02 Thread Wojciech Puchar
i asked the question wrong. the right should be "how does it do". Because i am not aware about any user level interface in FreeBSD to explicitly request superpage mapping. You are right, there isn't any. true. anyway there should be such interface to freebsd kernel. The code in mysqld.cc

Re: SuperPages utilization survey

2012-06-02 Thread Florian Smeets
On 02.06.12 12:48, Ivan Voras wrote: > On 2 June 2012 12:29, Wojciech Puchar wrote: >>> >>> In my words i would say "It enables mysql to use super-pages/large-pages". >> >> i asked the question wrong. the right should be "how does it do". Because i >> am not aware about any user level interfa

Re: detailed map of WIRED memory under FreeBSD 9

2012-06-02 Thread Wojciech Puchar
the problem is that these result does not sum up to value of "wired" reported by top. On Sat, 2 Jun 2012, Andrey Zonov wrote: On 6/1/12 12:19 PM, Wojciech Puchar wrote: what tool and how can be used to display detailed map what exactly wired memory on my system as it is far way too much (1.5G

[Hash function Ipv4]

2012-06-02 Thread enrico d'urso
Hi, I'm looking for an Hash function for Ipv4 addresses. What are good ones? Bye Enrico ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, s

geli conversion

2012-06-02 Thread Wojciech Puchar
is it possible to convert geli encrypted device using keyfile to password only? possibly i miss something in manual. thanks. ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any

Re: [Hash function Ipv4]

2012-06-02 Thread Poul-Henning Kamp
In message , enrico d'urso writes: > >I'm looking for an Hash function for Ipv4 addresses. > >What are good ones? They are generally very hard to hash well, for all sorts of reasons related to how we use them. One way that used to work reasonably well for me: uint32_t ipv4, h;

Re: geli conversion

2012-06-02 Thread Fabian Keil
Wojciech Puchar wrote: > is it possible to convert geli encrypted device using keyfile to password > only? > > possibly i miss something in manual. thanks. The geli(8) action you are looking for is called setkey. Fabian signature.asc Description: PGP signature

namecache documentation and locking

2012-06-02 Thread Benjamin Kaduk
Hi all, My colleague recently pointed out to me that I was calling vgone() when I probably wanted to be using cache_purge() (as is done for implementations of this OS-specific function in other BSDs [1]). This caused me to take a look at the namecache functions and find not very much documen

Re: namecache documentation and locking

2012-06-02 Thread Konstantin Belousov
On Sat, Jun 02, 2012 at 11:34:21PM +, Benjamin Kaduk wrote: > Hi all, > > My colleague recently pointed out to me that I was calling vgone() when I > probably wanted to be using cache_purge() (as is done for implementations > of this OS-specific function in other BSDs [1]). > > This caused

Re: namecache documentation and locking

2012-06-02 Thread Benjamin Kaduk
On Sun, 3 Jun 2012, Konstantin Belousov wrote: On Sat, Jun 02, 2012 at 11:34:21PM +, Benjamin Kaduk wrote: Hi all, This caused me to take a look at the namecache functions and find not very much documentation of their use. I see that NetBSD has had a namecache.9 man page since 2001 [2], a