superpages and kmem on amd64

2012-05-20 Thread Marko Zec
Hi all, I'm playing with an algorithm which makes use of large contiguous blocks of kernel memory (ranging from 1M to 1G in size), so it would be nice if those could be somehow forcibly mapped to superpages. I was hoping that the VM system would automagically map (merge) contiguous 4k pages to

Re: superpages and kmem on amd64

2012-05-20 Thread Alan Cox
On Sun, May 20, 2012 at 2:01 AM, Marko Zec wrote: > Hi all, > > I'm playing with an algorithm which makes use of large contiguous blocks of > kernel memory (ranging from 1M to 1G in size), so it would be nice if those > could be somehow forcibly mapped to superpages. I was hoping that the VM > s

Re: Radeon, DRM and crash on 9.0

2012-05-20 Thread Fernando Apesteguía
On Sat, May 19, 2012 at 9:40 PM, Andriy Gapon wrote: > on 19/05/2012 17:52 Fernando Apesteguía said the following: >> Hi, >> >> I'm having some system crashes from time to time. I had this before >> but until recently I couldn't set my system so I could get crash >> dumps. >> >> My video card is a

Re: Booting Ubuntu and freebsd side by side

2012-05-20 Thread Uffe Jakobsen
Hi, On 2012-05-19 20:59, سید احمد حسینی wrote: I used boot0 with boot9cfg : boot0cfg -B -b /boot/boot0 ada0 And I can see boot0 menu ,but Ubuntu can't boot! On May 19, 2012 11:26 PM, "سید احمد حسینی" wrote: You should make sure that GRUB is installed in the PBR (partition boot record) of

Re: superpages and kmem on amd64

2012-05-20 Thread Marko Zec
On Sunday 20 May 2012 09:25:59 Alan Cox wrote: > On Sun, May 20, 2012 at 2:01 AM, Marko Zec wrote: > > Hi all, > > > > I'm playing with an algorithm which makes use of large contiguous blocks > > of kernel memory (ranging from 1M to 1G in size), so it would be nice if > > those could be somehow fo

Re: Booting Ubuntu and freebsd side by side

2012-05-20 Thread Chris Rees
On 20 May 2012 15:08, Uffe Jakobsen wrote: > > > Hi, > > > On 2012-05-19 20:59, سید احمد حسینی wrote: >> >> I used boot0 with boot9cfg : boot0cfg -B -b /boot/boot0 ada0 >> And I can see boot0 menu ,but Ubuntu can't boot! >> On May 19, 2012 11:26 PM, "سید احمد حسینی"  wrote: >> > > You should make

Re: superpages and kmem on amd64

2012-05-20 Thread Alan Cox
On 05/20/2012 09:43, Marko Zec wrote: On Sunday 20 May 2012 09:25:59 Alan Cox wrote: On Sun, May 20, 2012 at 2:01 AM, Marko Zec wrote: Hi all, I'm playing with an algorithm which makes use of large contiguous blocks of kernel memory (ranging from 1M to 1G in size), so it would be nice if thos

Re: GSoC Project: Automated Kernel Crash Reporting System - Discussion

2012-05-20 Thread Ilya Bakulin
On 19.05.12 22:02, Mel Flynn wrote: > As I read the original intent is to post crashdumps at a specified > remote location through rc(8) using an sh(1) script on the next > reboot. tar seemed appropriate. I'm only mentioning extending > libfetch(3), because it will be easy for fetch(1) to pick it u

Geom_mbr vs. SSD disks (was: proper newts options for SSD disks)

2012-05-20 Thread Tim Kientzle
On May 19, 2012, at 11:36 AM, rozhuk...@gmail.com wrote: > Do not use MBR (or manually do all to align). > 63 - not 4k aligned. Right now, the "-a" alignment option for "gpart add" is broken when used with MBR partitions. It looks like the gpart command uses it to correctly align the start/end

Re: superpages and kmem on amd64

2012-05-20 Thread User Wojtek
historic / cumulative stats, or is vm.pmap.pde.promotions the actual number of superpages active? Or should we subtract vm.pmap.pde.demotions from it to get the current value? yes substracting gives current value. ___ freebsd-hackers@freebsd.org maili

Re: superpages and kmem on amd64

2012-05-20 Thread User Wojtek
vm.pmap.pde.demotions: 31 No, your conclusion is incorrect. These counts show that 543 superpage mappings were created by promotion. OK, that sounds promising. Does "created by promotion" count reflect historic / cumulative stats, or is vm.pmap.pde.promotions the actual number of superpages

Re: superpages and kmem on amd64

2012-05-20 Thread Marko Zec
On Sunday 20 May 2012 19:34:26 Alan Cox wrote: ... > > In any case, I wish to be certain that a particular kmem virtual address > > range is mapped to superpages - how can I enforce that at malloc time, > > and / or find out later if I really got my kmem mapped to superpages? > > Perhaps vm_map_lo

Re: superpages and kmem on amd64

2012-05-20 Thread Alan Cox
On 05/20/2012 17:48, Marko Zec wrote: On Sunday 20 May 2012 19:34:26 Alan Cox wrote: ... In any case, I wish to be certain that a particular kmem virtual address range is mapped to superpages - how can I enforce that at malloc time, and / or find out later if I really got my kmem mapped to super

Re: superpages and kmem on amd64

2012-05-20 Thread Marko Zec
On Monday 21 May 2012 01:12:01 Alan Cox wrote: ... > >>> BTW, apparently malloc(size, M_TEMP, M_NOWAIT) requests fail for size> > >>> 1G, even at boot time. Any ideas how to circumvent that (8.3-STABLE, > >>> amd64, 4G physical RAM)? > >> > >> I suspect that you need to increase the size of your k

We invite you to work in your spare time for $ 100 per hour

2012-05-20 Thread kwm
We invite you to work in the remote assistant position. This work takes 2-3 hours per week and requires absolutely no investment. The essence of this work for incoming client requests in your city. The starting salary is about 2500 EUR per month + bonuses. You get paid your salary every 2 weeks a