Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-10 Thread Daniel Braniss
happy that FreeBSD is among the selected organization. I am a third year student interested to work in the field of embedded system. I applied last year and the title of my project was Kernel Size why only in embedded system. smaller programs are always good :) And yes FreeBSD kernel

Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-10 Thread Matthew Jacob
On 4/9/2013 11:53 PM, Daniel Braniss wrote: this host can run x11 apps! so 'Huge' is a relative matter, my first PDP11/45 has 64K :-) danny Bah. Real old farts ran munix on a 32k PDP 11/03- shell and apps in the low 16k and the kernel in the upper. Or was it the other way around? At Tektronix,

Re: building world and kernel without ebuilding (bootstrap?) clang?

2013-04-10 Thread Lev Serebryakov
Hello, deeptech71. You wrote 10 апреля 2013 г., 1:00:10: d Lev Serebryakov wrote: Is system version (system is snapshot from Mar 30) is external and modern? d Lev Serebryakov wrote: It is very sad, that external compiler cannot be used with fresh sources (when headers are different). We

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread John Baldwin
On Monday, April 08, 2013 6:39:31 am Wojciech Puchar wrote: Superpage promotion happens automatically when consecutive data are accessed according to the proper heuristic. and in practice - unless there are only few processes, never really works. this is a result of my own tests.

Re: building world and kernel without ebuilding (bootstrap?) clang?

2013-04-10 Thread Brooks Davis
On Wed, Apr 10, 2013 at 06:09:35PM +0400, Lev Serebryakov wrote: Hello, deeptech71. You wrote 10 2013 ??., 1:00:10: d Lev Serebryakov wrote: Is system version (system is snapshot from Mar 30) is external and modern? d Lev Serebryakov wrote: It is very sad, that

Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-10 Thread Jonathan Anderson
On Tuesday, 9 April 2013 at 22:18, Joshua Isom wrote: Would clang's LTO help for size? I know work's starting on the bsd elftools ld, but I doubt it has any LTO support yet. Running -Os on the kernel as a whole instead of object files could probably help a lot also. I might try to set it up

Re: building world and kernel without ebuilding (bootstrap?) clang?

2013-04-10 Thread Lev Serebryakov
Hello, Brooks. You wrote 10 апреля 2013 г., 18:50:04: BD The key is to pass the --sysroot option to the compiler. I've got a not BD quite finished (mostly due to a complete lack of documentation) set of BD patches to Makefile.inc1 to do this: BD

Re: building world and kernel without ebuilding (bootstrap?) clang?

2013-04-10 Thread Lev Serebryakov
Hello, Brooks. You wrote 10 апреля 2013 г., 18:50:04: BD The key is to pass the --sysroot option to the compiler. I've got a not BD quite finished (mostly due to a complete lack of documentation) set of BD patches to Makefile.inc1 to do this: BD

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread Wojciech Puchar
How do your tests work? Do you examine PTEs directly to check for superpages or are you relying on the vm.pmap.pde sysctls? the later. anyway - algorithm described on list - that heuristics detects consecutive page access doesn't really help the urgent case - RANDOM access to large amount

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread Benjamin Kaduk
On Wed, 10 Apr 2013, Wojciech Puchar wrote: How do your tests work? Do you examine PTEs directly to check for superpages or are you relying on the vm.pmap.pde sysctls? the later. anyway - algorithm described on list - that heuristics detects consecutive page access doesn't really help the

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread Alfred Perlstein
On 4/10/13 11:42 AM, Benjamin Kaduk wrote: On Wed, 10 Apr 2013, Wojciech Puchar wrote: How do your tests work? Do you examine PTEs directly to check for superpages or are you relying on the vm.pmap.pde sysctls? the later. anyway - algorithm described on list - that heuristics detects

Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-10 Thread Joshua Isom
On 4/10/2013 9:43 AM, Jonathan Anderson wrote: The last I heard, LTO on the kernel required something like 16 GB of RAM and produced a not-quite-working image. Jon I upgraded my system with 32Gb for a reason. ___ freebsd-hackers@freebsd.org

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread Sebastian Feld
On Wed, Apr 10, 2013 at 7:49 PM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: How do your tests work? Do you examine PTEs directly to check for superpages or are you relying on the vm.pmap.pde sysctls? the later. anyway - algorithm described on list - that heuristics detects

RE: Multiple page size support on FreeBSD?

2013-04-10 Thread Andrew Duane
Like all performance items (especially VM), it depends on the hardware and the load. On systems with small TLBs it helps more than with large TLBs. With software that needs access to lots of different areas the TLB gets more traffic so large ones help more. The answer for your firefox browser

Re: Multiple page size support on FreeBSD?

2013-04-10 Thread Alfred Perlstein
On 4/10/13 1:09 PM, Andrew Duane wrote: Like all performance items (especially VM), it depends on the hardware and the load. On systems with small TLBs it helps more than with large TLBs. With software that needs access to lots of different areas the TLB gets more traffic so large ones help

Re: GSOC 2013 project Kernel Size Reduction for Embedded System

2013-04-10 Thread Adrian Chadd
On 10 April 2013 13:06, Joshua Isom jri...@gmail.com wrote: I upgraded my system with 32Gb for a reason. Yes, yes you did. TO force me to fix ath(4) and busdma. ;-) Adrian ___ freebsd-hackers@freebsd.org mailing list