Port-hpcmips archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building on the z50



Excellent.  I will try these suggestions!

Thanks!

-s

On Wed, Oct 7, 2009 at 3:01 PM,  <jscottkasten%yahoo.com@localhost> wrote:
> Most of the NetBSD release kernels have softdep added to the build config, so 
> it is only necessary to turn it on in the run time.  Just add the magic to 
> the /etc/fstab like so:
>
> http://www.netbsd.org/docs/misc/#softdeps
>
> While you're in there, you might also check to make sure you have the noatime 
> and nodevmtime options enabled as well.  This combination of things will 
> ensure the minimum number of writes to the storage for general use.
>
> You mentioned compiling stuff.  You could also try adding "-pipe" to CFLAGS 
> when you run configure for your package.  This will reduce the compiler's 
> reliance on temporary files at the expense of needing more system memory to 
> run.  This may be less painful, and more efficient than making /tmp a memory 
> based file system.
>
> All this stuff together will probably give you that 15 - 20% advantage you're 
> looking for.
>
> -S-
>
> --- On Wed, 10/7/09, Scott Lawrence <yorgle%gmail.com@localhost> wrote:
>
>> From: Scott Lawrence <yorgle%gmail.com@localhost>
>> Subject: Re: Building on the z50
>> To: jscottkasten%yahoo.com@localhost
>> Cc: "hpcmips NetBSD mailing list" <port-hpcmips%netbsd.org@localhost>
>> Date: Wednesday, October 7, 2009, 11:46 AM
>> How do I do this?  I'm not
>> building my own kernel or anything; just
>> using downloaded stuff from the main distribution
>>
>> -s
>>
>> On Wed, Oct 7, 2009 at 2:45 PM,  <jscottkasten%yahoo.com@localhost>
>> wrote:
>> > Have you tried enabling softdep?  That is probably
>> the one single largest improvement you can make.  It may
>> ultimately make you flash live a bit longer too.
>> >
>> > -S-
>> >
>> > --- On Wed, 10/7/09, Scott Lawrence <yorgle%gmail.com@localhost>
>> wrote:
>> >
>> >> From: Scott Lawrence <yorgle%gmail.com@localhost>
>> >> Subject: Building on the z50
>> >> To: "hpcmips NetBSD mailing list" <port-hpcmips%netbsd.org@localhost>
>> >> Date: Wednesday, October 7, 2009, 7:17 AM
>> >> Hey all.
>> >>
>> >> I use my z50 as a portable development machine.
>> It
>> >> works great.
>> >> Awesome keyboard, excellent battery life, etc.
>> >>
>> >> One thing though; the drive access times to the CF
>> card are
>> >> painful,
>> >> due to PIO access times.
>> >>
>> >> Does anyone have any configuration suggestions
>> wrt
>> >> this?  I was
>> >> thinking that a 5 or 10 meg ramdisk would be
>> great; have
>> >> gcc put its
>> >> build files out there, or possibly have the source
>> files
>> >> copied out
>> >> there, then just refreshed back to the CF every so
>> often.
>> >> (whatever)
>> >>
>> >> Anyone have suggestions on how to get a
>> ramdisk/partition
>> >> to be configured?
>> >>
>> >> I tried to do it a few months back, with no good
>> results.
>> >>
>> >> -s
>> >>
>> >> --
>> >> Scott Lawrence
>> >> yorgle%gmail.com@localhost
>> >>
>> >
>>
>>
>>
>> --
>> Scott Lawrence
>> yorgle%gmail.com@localhost
>>
>



-- 
Scott Lawrence
yorgle%gmail.com@localhost


Home | Main Index | Thread Index | Old Index