[gentoo-user] Questions about wine

2013-07-20 Thread Walter Dnes
  I'm looking at getting wine going for a Windows-only app.  Some
questions...

1) The latest ebuild wine-1.6_rc4 (unstable) apparently should have the
prelink USE flag.  http://www.gentoo.org/doc/en/prelink-howto.xml
talks about a cron job to run prelink every so often, which seems like
the wrong approach.  Wouldn't it make more sense to run it right after
emerge?  Are there any problems with running prelink on all programs?

2) I'm hazy about some of wine's USE flags...  are opencl and opengl
and osmesa recommended?  My onboard video chip (according to lspci) is
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd
Gen Core processor Graphics Controller (rev 09)

3) LINGUAS supports both en and en_US.  Is it recommended to enable
both?

-- 
Walter Dnes waltd...@waltdnes.org
I don't run desktop environments; I run useful applications



Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread pk
On 2013-07-20 01:23, luis jure wrote:

 hehe... i guess neil meant that in average for each Tb you have in your
 disk, only 125Mb is really important or useful. the rest is crap that just
 piles up...
 

No, 1Tb = 125GB (note the difference between Tb = Tbit and TB=TByte)...

Best regards

Peter K



Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Alan McKinnon
On 20/07/2013 01:03, Dale wrote:
 Neil Bothwick wrote:
 On Fri, 19 Jul 2013 11:43:39 -0500, Dale wrote:

 My /home is over 1Tb, that is Tb too. I'm not buying
 one big enough for all that.
 1Tb is only 125GB, well within the capacity of current SSDs :P

 Switching to an SSD, particularly on a laptop where you can't add a
 second drive, really helps you decide how much of the content of ~ you
 really need.


 
 Mine is mostly videos and some smaller amount of pics.  1 Tb is 125Gb? 
 1Tb is 1,000Gb or so.  I would also be concerned about the cost of one
 that large too.
 
 Confused.


Neil is jerking your chain :-)

Remember, he's an Englishman and they don't do slapstick humour, they do
clever and subtle humour.

You typed b when you intended to type B


-- 
Alan McKinnon
alan.mckin...@gmail.com




Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread luis jure
on 2013-07-20 at 09:42 pk wrote:

 On 2013-07-20 01:23, luis jure wrote:
 
  hehe... i guess neil meant that in average for each Tb you have in your
  disk, only 125Mb is really important or useful. the rest is crap that
  just piles up...
  
 
 No, 1Tb = 125GB (note the difference between Tb = Tbit and TB=TByte)...

haha, yes, someone else mentioned that already. silly me, i didn't pay
attention to the lowercase b... i really thought neil was saying that in
jest! anyway, i think there is something in the idea that for each TB in
their hard disks, the average home user has lots of useless crap. i know
*i* do...



Re: [gentoo-user] syslog-ng segfaults

2013-07-20 Thread kwkhui
On Fri, 19 Jul 2013 17:03:36 -0400
Randy Barlow ra...@electronsweatshop.com wrote:

 Alexey Mishustin wrote:
  So, restarting syslog-ng should be all that's required to fix it -
  reboot is
  overkill.
 
  As for me, first I updated syslog-ng, then I issued
  '/etc/init.d/syslog-ng reload' (by mistake, instead of 'restart'),
  and then 'restart' as I should. Then, just when syslog-ng was
  restarting, the segfault happened.
 
 I also noted that restarting syslog didn't seem to solve the problem.
 I do think Adam's reasoning makes sense, but there must be something
 else that needed to be restarted as well.
 

Same behaviour here.  In my case with an lsof | grep libsyslog-ng I
see in the physical host hp-systray from hplip was still
using the old libsyslog-ng.so, so killing that and a restart of
syslog-ng service stops the segfault lines.  YMMV,

Kerwin.


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Peter Humphrey
On Saturday 20 Jul 2013 12:26:04 Alan McKinnon wrote:

 Neil is jerking your chain :-)
 
 Remember, he's an Englishman and they don't do slapstick humour, they do
 clever and subtle humour.

I'm another, and I've been tempted to make the same observation as Neil did, 
but I wouldn't have been so funny so I'm glad I left it to him :-)

-- 
Regards,
Peter




SSDs, VM SANs RAID - WAS Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Tanstaafl

On 2013-07-19 3:02 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote:

I think you are. Unless you are moving massive terabytes of data
across your drive on a constant basis I would not worry about regular
everyday write activity being a problem.


I have a question regarding the use of SSDs in a VM SAN...

We are considering buying a lower-end SAN (two actually, one for each of 
our locations), with lots of 2.5 bays, and using SSDs.


The two questions that come to mind are:

Is this a good use of SSDs? I honestly don't know if the running VMs 
would benefit from the faster IO or not (I *think* the answer is a 
resounding yes)?


Next is RAID...

I've avoided RAID5 (and RAID6) like the plague ever since I almost got 
bit really badly by a multiple drive failure... luckily, the RAID5 had 
just finished rebuilding successfully after the first drive failed, 
before the second drive failed. I can't tell you how many years I aged 
that day while it was rebuilding after replacing the second failed drive.


Ever since, I've always used RAID10.

So... with SSDs, I think another advantage would be much faster rebuilds 
after a failed drive? So I could maybe start using RAID6 (would survive 
two simultaneous disk failures), and not lose so much available storage 
(50% with RAID10)?


Last... while researching this, I ran across a very interesting article 
that I'd appreciate hearing opinions on.


The Benefits of a Flash Only, SAN-less Virtual Architecture:

http://www.storage-switzerland.com/Articles/Entries/2012/9/20_The_Benefits_of_a_Flash_Only,_SAN-less_Virtual_Architecture.html

or

http://tinyurl.com/khwuspo

Anyway, I look forward to hearing thoughts on this...



Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread pk
On 2013-07-20 13:59, luis jure wrote:

the average home user has lots of useless crap. i know
 *i* do...

Yes, I do too... So the answer is smaller disks in order not to
accumulate so much crap! ;-)

Best regards

Peter K



Re: SSDs, VM SANs RAID - WAS Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Pandu Poluan
On Jul 20, 2013 9:27 PM, Tanstaafl tansta...@libertytrek.org wrote:

 On 2013-07-19 3:02 PM, Paul Hartman paul.hartman+gen...@gmail.com wrote:

 I think you are. Unless you are moving massive terabytes of data
 across your drive on a constant basis I would not worry about regular
 everyday write activity being a problem.


 I have a question regarding the use of SSDs in a VM SAN...

 We are considering buying a lower-end SAN (two actually, one for each of
our locations), with lots of 2.5 bays, and using SSDs.

 The two questions that come to mind are:

 Is this a good use of SSDs? I honestly don't know if the running VMs
would benefit from the faster IO or not (I *think* the answer is a
resounding yes)?


Yes, the I/O would be faster, although how significant totally depends on
your workload pattern.

The bottleneck would be the LAN, though. The peak bandwidth of SATA is 6
GB/s = 48 Gbps. You'll need active/active multipathing and/or bonded
interfaces to cater for that firehose.

 Next is RAID...

 I've avoided RAID5 (and RAID6) like the plague ever since I almost got
bit really badly by a multiple drive failure... luckily, the RAID5 had just
finished rebuilding successfully after the first drive failed, before the
second drive failed. I can't tell you how many years I aged that day while
it was rebuilding after replacing the second failed drive.

 Ever since, I've always used RAID10.


Ahh, the Cadillac of RAID arrays :-)

 So... with SSDs, I think another advantage would be much faster rebuilds
after a failed drive? So I could maybe start using RAID6 (would survive two
simultaneous disk failures), and not lose so much available storage (50%
with RAID10)?


If you're using ZFS with spinning disks as its vdev 'elements', resilvering
(rebuilding the RAID array) would be somewhat faster because ZFS knows what
needs to be resilvered (i.e., used blocks) and skip over parts that don't
need to be resilvered (i.e., unused blocks).

 Last... while researching this, I ran across a very interesting article
that I'd appreciate hearing opinions on.

 The Benefits of a Flash Only, SAN-less Virtual Architecture:


http://www.storage-switzerland.com/Articles/Entries/2012/9/20_The_Benefits_of_a_Flash_Only,_SAN-less_Virtual_Architecture.html

 or

 http://tinyurl.com/khwuspo

 Anyway, I look forward to hearing thoughts on this...


Interesting...

Another alternative for performance is to buy a bunch of spinning disks
(let's say, 12 of them 'enterprise'-grade disks), join them into a ZFS Pool
of 5 mirrored vdevs (that is, a RAID10 a la ZFS) + 2 spares, then use 4
SSDs to hold the ZFS Cache and Intent Log.

The capital expenditure for the gained capacity should be cheaper, but with
a very acceptable performance.

Rgds,
--


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Dale

Peter Humphrey wrote:

On Saturday 20 Jul 2013 12:26:04 Alan McKinnon wrote:


Neil is jerking your chain :-)

Remember, he's an Englishman and they don't do slapstick humour, they do
clever and subtle humour.

I'm another, and I've been tempted to make the same observation as Neil did,
but I wouldn't have been so funny so I'm glad I left it to him :-)



And I thought I was typing a large B instead of a little b.  I'm not 
used to having two capitol letters next to each other I guess. Either 
way, I had a little b next to the drive sizes too.  lol


Neil, you know how payback is right?  ROFL

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Dale

pk wrote:

On 2013-07-20 13:59, luis jure wrote:


the average home user has lots of useless crap. i know
*i* do...

Yes, I do too... So the answer is smaller disks in order not to
accumulate so much crap! ;-)

Best regards

Peter K




I have to say, most of mine is useful stuff.  I have smaller files that 
show the wiring for my car speaker system.  I have documents that I sent 
to Social Security and State offices concerning my disability.  I also 
have some financial info, encrypted of course, stored here.  My smaller 
stuff is important to keep.  My larger stuff is videos and camera pics.  
Just as examples:


9.4G/home/dale/Desktop/Music
1.1T/home/dale/Desktop/Videos
16G /home/dale/Desktop/Documents/Camera-pics
5.2G/home/dale/Desktop/Documents/Kathie-camera
4.4G/home/dale/Desktop/Documents/Recipes

That's just a example.  You may notice, videos is by far the largest 
thing I have tho.  It takes up a LOT of space.


I may could clean up some of that stuff a bit but it wouldn't be much.  
I generally store stuff in a temp location until I know if I need it 
long term.  Stuff like exploded views of my washing machine.  When I 
know it is the right one for my washing machine, I move it to a 
permanent location.  If it turns out to be the wrong one or I can't fix 
the appliance, I chunk the appliance and then trash the files too.  I 
also keep the last two versions of sysrescue for my USB stick.  That 
reminds me, I need to test the latest one to make sure it works, when I 
reboot again.  :/


Yea, I'm one weird cookie.  lol

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Sat, 20 Jul 2013 15:02:48 -0500, Dale wrote:

 I 
 also keep the last two versions of sysrescue for my USB stick.

How do you copy one to a stick when you need to rescue an unbootable
system? I prefer to keep the ISO in /boot, no need for a USB stick then.


-- 
Neil Bothwick

By the time you can make ends meet, they move the ends.


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Fri, 19 Jul 2013 19:50:47 -0500, Dale wrote:

 Changing the case of the b around is not going to change what space my 
 data consumes or what a drive can hold.

No, but it does change the meaning of what you are saying it uses, and
invalidates your sig in the process :)

Remember *nix is case-sensitive :)


-- 
Neil Bothwick

Mmmm, trouble with grammer have I, yes? - Yoda


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Sat, 20 Jul 2013 12:26:04 +0200, Alan McKinnon wrote:

 Remember, he's an Englishman and they don't do slapstick humour, they do
 clever and subtle humour.

Have you never seen Monty Python or The Goodies?

PS, let me know when you think this is getting off-topic...


-- 
Neil Bothwick

If at first you don't succeed, well...darn.


signature.asc
Description: PGP signature


Re: [gentoo-user] syslog-ng segfaults

2013-07-20 Thread Neil Bothwick
On Sat, 20 Jul 2013 20:27:51 +0800, kwk...@hkbn.net wrote:

 Same behaviour here.  In my case with an lsof | grep libsyslog-ng I
 see in the physical host hp-systray from hplip was still
 using the old libsyslog-ng.so, so killing that and a restart of
 syslog-ng service stops the segfault lines.  YMMV,

Try app-admin/checkrestart, I generally run this after updating any
daemons or libraries.


-- 
Neil Bothwick

RAM DISK is NOT an installation procedure!


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Sat, 20 Jul 2013 14:50:29 -0500, Dale wrote:

 Neil, you know how payback is right?  ROFL

That's the one with Mel Gibson?


-- 
Neil Bothwick

Top Oxymorons Number 35: Legally drunk


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Bruce Hill
On Sat, Jul 20, 2013 at 10:43:39PM +0100, Neil Bothwick wrote:
 
 How do you copy one to a stick when you need to rescue an unbootable
 system? I prefer to keep the ISO in /boot, no need for a USB stick then.

Would you mind a short HOW-TO for that, including {lilo,grub}.conf?

And would this only be applicable to those poor souls who don't keep a known,
good kernel in /boot Just In Case (TM)?
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Sat, 20 Jul 2013 17:00:21 -0500, Bruce Hill wrote:

 On Sat, Jul 20, 2013 at 10:43:39PM +0100, Neil Bothwick wrote:
  
  How do you copy one to a stick when you need to rescue an unbootable
  system? I prefer to keep the ISO in /boot, no need for a USB stick
  then.
 
 Would you mind a short HOW-TO for that, including {lilo,grub}.conf?

http://www.sysresccd.org/Sysresccd-manual-en_Easy_install_SystemRescueCd_on_harddisk#Boot_the_ISO_image_from_the_disk_using_Grub2

 And would this only be applicable to those poor souls who don't keep a
 known, good kernel in /boot Just In Case (TM)?

A known, good kernel is not much help if your root filesystem is damaged,
although I do make sure I always have at least one such kernel in /boot.

One of the benefits of booting sysrescd this way is that it is a *lot*
faster than USB.


-- 
Neil Bothwick

Windows Error #56: Operator fell asleep while waiting.


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Bruce Hill
On Sat, Jul 20, 2013 at 11:20:30PM +0100, Neil Bothwick wrote:
  
  Would you mind a short HOW-TO for that, including {lilo,grub}.conf?
 
 http://www.sysresccd.org/Sysresccd-manual-en_Easy_install_SystemRescueCd_on_harddisk#Boot_the_ISO_image_from_the_disk_using_Grub2
 
  And would this only be applicable to those poor souls who don't keep a
  known, good kernel in /boot Just In Case (TM)?
 
 A known, good kernel is not much help if your root filesystem is damaged,
 although I do make sure I always have at least one such kernel in /boot.
 
 One of the benefits of booting sysrescd this way is that it is a *lot*
 faster than USB.

Thanks. I assume you must have a separate /boot partition in case your root
filesystem is damaged or this still doesn't help, eh?
-- 
Happy Penguin Computers   ')
126 Fenco Drive   ( \
Tupelo, MS 38801   ^^
supp...@happypenguincomputers.com
662-269-2706 662-205-6424
http://happypenguincomputers.com/

A: Because it messes up the order in which people normally read text.   

   
Q: Why is top-posting such a bad thing? 

   
A: Top-posting. 

   
Q: What is the most annoying thing in e-mail?

Don't top-post: http://en.wikipedia.org/wiki/Top_post#Top-posting



Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Sat, 20 Jul 2013 17:38:59 -0500, Bruce Hill wrote:

  A known, good kernel is not much help if your root filesystem is
  damaged, although I do make sure I always have at least one such
  kernel in /boot.

 Thanks. I assume you must have a separate /boot partition in case your
 root filesystem is damaged or this still doesn't help, eh?

Yes, and it's mounted ro to minimise the risk of such damage.


-- 
Neil Bothwick

Top Oxymorons Number 15: Extinct Life


signature.asc
Description: PGP signature


Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread William Kenworthy
On 21/07/13 06:42, Neil Bothwick wrote:
 On Sat, 20 Jul 2013 17:38:59 -0500, Bruce Hill wrote:
 
 A known, good kernel is not much help if your root filesystem is
 damaged, although I do make sure I always have at least one such
 kernel in /boot.
 
 Thanks. I assume you must have a separate /boot partition in case your
 root filesystem is damaged or this still doesn't help, eh?
 
 Yes, and it's mounted ro to minimise the risk of such damage.
 
 

I used to do this (keeping a rescue partitio) ... but found it was
useful only some of the time.  Nowadays I just leave a sysrescuecd USB
key on top of the case :)  Same features, useful in more circumstances,
less maintenance overhead.

BillK





Re: [gentoo-user] SSD partitioning and migration

2013-07-20 Thread Neil Bothwick
On Sun, 21 Jul 2013 07:02:35 +0800, William Kenworthy wrote:

  Yes, and it's mounted ro to minimise the risk of such damage.

 I used to do this (keeping a rescue partitio) ... but found it was
 useful only some of the time.  Nowadays I just leave a sysrescuecd USB
 key on top of the case :)  Same features, useful in more circumstances,
 less maintenance overhead.

This sin't a rescue partition, it's just a GRUB menu entry and a copy f
the ISO in /boot, so far less maintenance even than making sure a USB
stick stays put. Plus it is much faster to boot.


-- 
Neil Bothwick

Irritable? Who the bloody hell are you calling irritable?


signature.asc
Description: PGP signature