Playing with include-what-you-use shows interesting stuff

2012-03-21 Thread Baptiste Daroussin
Hi, I've been playing with the include-what-you-use[1] llvm tool for some on my personnal projects, as it works very well, I have also played with it on our source tree starting with the bin directory. It shows some interesting results, while the default output is quite aggressive, I just chose

iso2flash img

2012-03-21 Thread Da Rock
I'm doing some work for a client and I need to get a copy of ubuntu to demo for them. I can only use a usb disk (no cdrom), and unfortunately the guys at ubuntu are too lazy to create a flash img themselves and expect you to do it yourself. Of course the tools to do this are only available on

Re: iso2flash img

2012-03-21 Thread Vitaly Magerya
Da Rock wrote: I googled a bit and found an old post here from Luigi (http://osdir.com/ml/freebsd-hackers/2008-11/msg00245.html) which had a script to do this, but I'm having trouble with it- is anyone familiar with this? I'm on a bit of a deadline... Can't help you with that script (I

Re: iso2flash img

2012-03-21 Thread Matthias Apitz
Hello, I've forwarded your question to a colleague who is an Ubuntu fan and he replied, that the creation of a booting Ubuntu USB key is possile with Ubuntu tools/methods only, i.e. booting the Ubuntu live CD and following the ways to install it onto the key (and not on disk). He wrote some

Re: iso2flash img

2012-03-21 Thread Da Rock
On 03/21/12 22:55, Vitaly Magerya wrote: Da Rock wrote: I googled a bit and found an old post here from Luigi (http://osdir.com/ml/freebsd-hackers/2008-11/msg00245.html) which had a script to do this, but I'm having trouble with it- is anyone familiar with this? I'm on a bit of a deadline...

Re: iso2flash img

2012-03-21 Thread Da Rock
On 03/21/12 23:06, Matthias Apitz wrote: Hello, I've forwarded your question to a colleague who is an Ubuntu fan and he replied, that the creation of a booting Ubuntu USB key is possile with Ubuntu tools/methods only, i.e. booting the Ubuntu live CD and following the ways to install it onto the

Re: iso2flash img

2012-03-21 Thread Da Rock
On 03/21/12 23:11, Da Rock wrote: On 03/21/12 22:55, Vitaly Magerya wrote: Da Rock wrote: I googled a bit and found an old post here from Luigi (http://osdir.com/ml/freebsd-hackers/2008-11/msg00245.html) which had a script to do this, but I'm having trouble with it- is anyone familiar with

Re: iso2flash img

2012-03-21 Thread Mark Felder
As an alternative I recently purchased a Zalman ZM-VE200 device (there's also a USB3.0 flavor) that lets you copy ISOs to it and it will emulate a CDROM/DVDROM/BDROM for you so you never have to deal with this mess again. It works amazingly well. I was tired of fighting this problem and this

Re: Approaching the limit on PV entries

2012-03-21 Thread John Baldwin
On Tuesday, March 20, 2012 11:37:57 am Sergey Kandaurov wrote: On 22 November 2011 19:29, Mark Saad nones...@longcount.org wrote: Hello All [found this mail in my drafts, not sure if my answer is still useful] I want to get to the bottom of a warning in dmesg. On 7.2-RELEASE and

Re: Approaching the limit on PV entries

2012-03-21 Thread Sergey Kandaurov
On 21 March 2012 19:19, John Baldwin j...@freebsd.org wrote: On Tuesday, March 20, 2012 11:37:57 am Sergey Kandaurov wrote: On 22 November 2011 19:29, Mark Saad nones...@longcount.org wrote: Hello All [found this mail in my drafts, not sure if my answer is still useful]  I want to get to

Re: iso2flash img

2012-03-21 Thread Simon Dick
On 21 March 2012 15:52, Mark Felder f...@feld.me wrote: As an alternative I recently purchased a Zalman ZM-VE200 device (there's also a USB3.0 flavor) that lets you copy ISOs to it and it will emulate a CDROM/DVDROM/BDROM for you so you never have to deal with this mess again. It works

Re: Approaching the limit on PV entries

2012-03-21 Thread Mark Saad
On Wed, Mar 21, 2012 at 12:39 PM, Sergey Kandaurov pluk...@gmail.com wrote: On 21 March 2012 19:19, John Baldwin j...@freebsd.org wrote: On Tuesday, March 20, 2012 11:37:57 am Sergey Kandaurov wrote: On 22 November 2011 19:29, Mark Saad nones...@longcount.org wrote: Hello All [found this

Re: [vfs] buf_daemon() slows down write() severely on low-speed CPU

2012-03-21 Thread Konstantin Belousov
On Thu, Mar 15, 2012 at 08:00:41PM +0100, Svatopluk Kraus wrote: 2012/3/15 Konstantin Belousov kostik...@gmail.com: On Tue, Mar 13, 2012 at 01:54:38PM +0100, Svatopluk Kraus wrote: On Mon, Mar 12, 2012 at 7:19 PM, Konstantin Belousov kostik...@gmail.com wrote: On Mon, Mar 12, 2012 at

malloc pages map to user space

2012-03-21 Thread Eric Saint-Etienne
Hi, From within the freeBSD kernel, not all malloc are made equal: * malloc() smaller than KMEM_ZMAX (set to one page size) end up in UMA SLABs, themselves laid out in powers of 2 (from 16 bytes, 32... to 4096 bytes) * bigger malloc() are done through uma_large_malloc() which uses

Improving gcore

2012-03-21 Thread Sushanth Rai
Sometimes I have trouble capturing the correct state of a multithreaded process using gcore. That is, it looks like target process might have done some work since the time command was issued and the core file was generated. Looking at the code, gcore calls ptrace(PT_ATTACH...), which internally

Re: iso2flash img

2012-03-21 Thread Da Rock
On 03/21/12 22:55, Vitaly Magerya wrote: Da Rock wrote: I googled a bit and found an old post here from Luigi (http://osdir.com/ml/freebsd-hackers/2008-11/msg00245.html) which had a script to do this, but I'm having trouble with it- is anyone familiar with this? I'm on a bit of a deadline...