Re: Upstart issues with Ubuntu 14.04.

2016-09-10 Thread Richard Kolb II
Honestly I never even looked to see what I have for a graphics card. This
is my wife's old laptop, I bought her a Macbook and took her machine over.
I've since added an SSD and maxed out the ram at 8 gigs.

I'll poke around at it a bit, I'm sure there is more I can do, right now I
have bigger fish to fry.

Rich


Richard Kolb II

On Fri, Sep 9, 2016 at 11:05 PM, Joshua Judson Rosen  wrote:

> On 09/09/2016 12:06 PM, Richard Kolb II wrote:
> > Not exactly related, but I just switched from windows 7 on my primary
> > machine to Ubuntu 16.x LTS. I found it horribly slow, which surprised
> > me considering it's a faster machine, more ram, and an SSD, over my
> > 14.x LTS machine.
>
> Does it perhaps have a worse graphics card--or perhaps even just
> a _worse-supported_ graphics card? Bottlenecks can be
> at the near end just as well as they can be at the far end
>
> I had that problem when I upgraded Debian and got GNOME 3
> a few years ago--"it" just started seeming to crawl along...,
> so I finally upgraded from my 3dfx Voodoo 3 board to a Radeon
> and then everything was _much better_.
>
> In that case, "it" turned out to not by my CPU or RAM or
> HDD or anything further away from me than the display system.
>
> (I may actually be mixing up the overly-specific details of
>  this upgrade story with from slightly longer ago, and
>  therefor exaggerating slightly: I may have actually have
>  already upgraded from the Voodoo 3 to a Radeon 9250 PCI card
>  a year two prior to that and then finally realised that I
>  could upgrade by just pulling the 9250 out and using the
>  motherboard's inbuilt Radeon RS480 because the upgraded Xorg
>  finally had support for that. But either way the story is
>  *qualitatively* the same--and frankly I prefer it the way
>  I originally remembered it :))
>
> --
> "Don't be afraid to ask (λf.((λx.xx) (λr.f(rr."
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: 16.04 SSD Re: Upstart issues with Ubuntu 14.04.

2016-09-10 Thread Bill Ricker
On Sat, Sep 10, 2016 at 4:05 PM, Peter Petrakis 
wrote:

> Having said that, I run all Intel with UMA graphics and
> can drive my 4K monitor with a 5 year old thinkpad.
>

​I do like all-Intel and aim for that. NVIDIA is nice if you need it ... so
there's no point in having it without getting best performance from the
proprietary blob.  But I avoid Broadcom always.  I inadvertently got one
all-Intel, one Nvidia Thinkpad T61 when buying lease-return quasi-refurbs.
(Neither is 14"; Nvidia one has the newer than PCMCIA slot, so i could add
a SD reader.)
   The Nvidia T61 behaves much nicer since i switched to the Tested
proprietary driver.
   The Intel one requires either the 14.04 HW Enablement Kernel update or
16.04 upgrade in order to use a different set of Xorg & Intel driver
patches that are required for Chrome HTML5 to not crash ​the GPU.
   Was going to do that HW enablement kernel, but the fain died so built
out a NUC6i7kyk first :-) The NUC isn't on Canonical certified list,
but it is listed as Linux tested/supported by Intel.  Windows is not
required to flash the BIOS, yeah!  A cute flash-drive with both USB-A and
micro-USB even allowed me to download BIOS update with tablet ... but
apparently can't update HDMI firmware w/o installing windows? Forums say i
should have one 4k with HDMI, have problems with 2x 4k HDMI, with Linux,
but even one didn't work for me. It could only do 1k4 via HDMI2VGA, not
even 1k7 but that could've been adapter limitation.  Feels like i'd need to
boot Windows and update HDMI firmware, ugh.  (Wind/Dos boot flashdisk
documented as working for one BIOS option but not for HDMI installer. boo
hiss.) But DP port is working fine as 3k5, and one of those is enough !

(Will order a fan later ... )



-- 
Bill Ricker
bill.n1...@gmail.com
https://www.linkedin.com/in/n1vux
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: 16.04 SSD Re: Upstart issues with Ubuntu 14.04.

2016-09-10 Thread Peter Petrakis
On Sat, Sep 10, 2016 at 12:40 AM, Bill Ricker  wrote:

> On Sep 9, 2016 23:05, "Joshua Judson Rosen" 
> wrote:
> >
> > On 09/09/2016 12:06 PM, Richard Kolb II wrote:
> > > Not exactly related, but I just switched from windows 7 on my primary
> > > machine to Ubuntu 16.x LTS. I found it horribly slow, which surprised
> > > me considering it's a faster machine, more ram, and an SSD, over my
> > > 14.x LTS machine.
> >
> > Does it perhaps have a worse graphics card--or perhaps even just
> > a _worse-supported_ graphics card? Bottlenecks can be
> > at the near end just as well as they can be at the far end
>
> If you run "Additional Drivers", it will inform you if there is a nonlibre
> driver that might perform better.
>

+1.

When I used to do hardware enablement for Canonical, I was initially
dismayed
that we were going out of our way to integrate and qualify binary video
drivers.
Then I saw the difference it makes for discrete graphics controllers
(nvidia/ati),
especially on laptops. Having said that, I run all Intel with UMA graphics
and
can drive my 4K monitor with a 5 year old thinkpad.

Checkout the hardware cert db before your next buy.
http://www.ubuntu.com/certification/desktop/ .
If it's there, it'll just work. If the platform chips are the same, it'll
"probably" just work too.
There's a little lag for the binary video drivers making it into the repos
as getting pre-install image done has priority.

> xenial 16.04LTS with SSD, Intel graphics is amazing fast here.
> (Intel NUK6i7kyk and EVO950pro nvme m.2 SSD . mDP works fine, HDMI didn't
> do 4k for me. )
>
> Don't be fooled by SATA mode m.2 SSDs, they're better than rotary drives
> but they aren't the m.2 you are looking for!
>

You ought to be able to get close to 500MB/s sequential write performance
from a good SSD.

Here's a micron m500 that I beat on a lot.

Using this fio file as a starting point:
http://tfindelkind.com/2015/08/24/fio-flexible-io-tester-part8-interpret-and-understand-the-resultoutput/

I have a tweaked one somewhere, I just can't find it atm.

# sequential 4k write
# set readwrite=write
# DESTRUCTIVE TEST: #sudo DISK=/dev/sdb fio perf.ini
Jobs: 4 (f=4): [W(4)] [48.6% done] [0KB/423.9MB/0KB /s] [0/108K/0 iops]
[eta 00m:18s]

good.

# rand 4k write
# # set readwrite=randwrite
# DESTRUCTIVE TEST: #sudo DISK=/dev/sdb fio perf.ini
Jobs: 4 (f=4): [w(4)] [31.4% done] [0KB/319.7MB/0KB /s] [0/81.9K/0 iops]
[eta 00m:24s]

~80,000 IOPS, which is what the spec says,
http://www.crucial.com/usa/en/storage-ssd-m500

OK, lets put a filesystem on and see the difference

sudo mkfs.ext4 /dev/sdb
mkdir /tmp/scratch
sudo mount /dev/sdb /tmp/scratch

# These tests are non-destructive, we're writing to a file hosted by the
filesystem

# rand 4k write on ext4
# add size=10g to the job description (its more than we need but I don't
care, quick example)
# sudo DISK=/tmp/scratch/randwrite-ext4.out fio perf.ini

Jobs: 4 (f=4): [w(4)] [45.7% done] [0KB/215.2MB/0KB /s] [0/55.8K/0 iops]
[eta 00m:19s]

So there goes a third of my performance :/

But this isn't a typical workload. A 70% read 30% write mix is more typical.

# set readwrite=randrw
# set rwmixread=70
#
# sudo mkfs.ext4 /dev/sdb
# mkdir /tmp/scratch
# sudo mount /dev/sdb /tmp/scratch
fio-job-11: (g=0): rw=randrw, bs=4K-4K/4K-4K/4K-4K, ioengine=libaio,
iodepth=32
Jobs: 4 (f=4): [m(4)] [20.0% done] [235.6MB/101.4MB/0KB /s] [60.3K/25.1K/0
iops] [eta 00m:Jobs: 4 (f=4): [m(

85K total IOPS with ~2/3 going to reads. reasonable.

Let's compare that again to block-io performance, same mix.

# sudo umount /tmp/scratch
# DESTRUCTIVE TEST: #sudo DISK=/dev/sdb fio perf.ini

Jobs: 4 (f=4): [m(4)] [20.0% done] [202.2MB/88128KB/0KB /s] [51.8K/22.4K/0
iops] [eta 00m:Jobs: 4 (f=4): [m(

the drop in read performance is probably  because I don't have any vfs page
cache help. my ssd might need to be
wiped too.

So that should give you an idea as to what to expect from your device.
Before you ask, I don't have an opinion
on which fs you should use for SSDs.

If you continue to see slowness once you've eliminated the video driver.
Use iotop  to
see which apps are touching your disk, maybe something is running away.
Also make sure the os isn't
doing something stupid like putting your link to sleep to save power,
powertop can help with this.

Hope this helps.

Peter


>
> ___
> gnhlug-discuss mailing list
> gnhlug-discuss@mail.gnhlug.org
> http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
>
>
___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/


Re: CentOS vs Unbuntu desktop

2016-09-10 Thread Susan Cragin

A Debian users group recommended it in about 2010 because it "hits" the 
processor at odd times and can create pretty big files. I've trashed it since 
then and it seems to give me some speed. Of course, other things have changed 
since 2010, but the really resource-conserving systems usually have it disabled 
or easily disable-able. 

I'm switching to Arch this coming summer, I think. When I have a bit of time. 

That should be fun. 


-Original Message-

From: Chris Linstid 

Sent: Sep 9, 2016 9:26 PM

To: Susan Cragin 

Cc: Tom Buskey , Richard Kolb II , Gnhlug Discuss 

Subject: Re: CentOS vs Unbuntu desktop



Out of curiosity, why did you disable syslog?
 - Chris

On Fri, Sep 9, 2016 at 9:05 PM, Susan Cragin  wrote:

I run Debian LXDE which is fast. And I have eliminated syslog and pulseaudio. 
FWIW.

-Original Message-

From: Tom Buskey 

Sent: Sep 9, 2016 1:18 PM

To: Richard Kolb II 

Cc: Gnhlug Discuss 

Subject: CentOS vs Unbuntu desktop



I've tended to use CentOS for the server; at work they want RHEL and support.  
With CentOS 5 and 6, I've found the desktop widgets to be lagging.  With Ubuntu 
(and Mint and other derivatives) there tend to be more desktop tools and 
they're kept up to date.  Everything is an apt-get install away.
On my desktop, I want to play videos, music, talk to a sound card, graphics 
card, office suites, IDEs.  I don't need that on my servers and it's ok if 
things are a bit behind.
I'd check out Mint as an alternative to Ubuntu before going to a CentOS desktop.
On Fri, Sep 9, 2016 at 12:06 PM, Richard Kolb II  wrote:
Not exactly related, but I just switched from windows 7 on my primary machine 
to Ubuntu 16.x LTS. I found it horribly slow, which surprised me considering 
it's a faster machine, more ram, and an SSD, over my 14.x LTS machine. I then 
tried Ubuntu Mate and I may just jump over to Centos.
Maybe I need to poke at what services I have running first.

Richard Kolb II

On Fri, Sep 9, 2016 at 11:44 AM, Tom Buskey  wrote:
I've been working with CentOS 6/7 based Openstack but have some Ubuntu.
FWIW, I prefer the 16.x Ubuntu with SystemD to Upstart.  I've found it easier 
to learn with CentOS man pages than Ubuntu.
I end up using service and chkconfig to start/stop and enable/disable.
I've found initctl for Upstart vs systemctl for systemd.  

On Thu, Sep 8, 2016 at 9:18 AM, Ken D'Ambrosio  wrote:
I believe Ubuntu is perhaps one of the lesser-used distros in GNHLUG

land, but I'm hoping someone here might be able to offer some insight.



I've got an Openstack install on Ubuntu 14.04 host systems, and after a

hurricane-induced power outage over the weekend, one of our hosts won't

boot -- it fails (seemingly) at loading an Openstack Neutron service.

So, I figure I'll go into /etc/init.d/ and just chmod -x all the suspect

services, see if it boots, and then manually load services.  Not so

much; that had zero apparent impact on the services loading.



So then I did some reading up on Upstart, and found a whole bunch of

places that the services *might* be loading from... none of which seemed

to impact stuff.  I currently have the host booted by some serious

cheating (I pulled a disk, went to "manual repair mode" when it whined

about not being able to mount devices, and loaded services from there --

it completely fails to boot single-user), but how in blazes do I:



* See what services want to be loaded?

* See *where* they get loaded?

* Load them individually?



I've found some of the services mentioned in /etc/init/, /etc/init.d/,

/etc/systemd/system/multi-user.target.wants/, /lib/systemd/system/,

/var/lib/systemd/deb-systemd-helper-enabled/ and

/var/lib/systemd/deb-systemd-helper-enabled/multi-user.target.wants/ .

I tried playing around with most (all?) of those locations, to no avail.

  Any insight into what I'm doing wrong would truly be most appreciated.



Thanks!



-Ken

___
gnhlug-discuss mailing list
gnhlug-discuss@mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/