Under CentOS 7
I've updated to the latest kernel provided in the El Repo repository,
kernel-ml.x86_64 3.19.3-1.el7.elrepo @elrepo-kernel
They have no version configured with pre-emption and this version without
does not provide smooth video over x2go, very jerky and laggy like the stock kernel.
If I build a kernel from source from kernel.org, even using the same
conf, and install it:
make clean; make; make modules_install install
The entire process proceeds without error but it breaks something
horribly in grub and instead of a boot menu I get a pointer alignment error when I try to boot, so I haven't been able to install a custom preemptive kernel on this machine.
The packaged kernels install fine, so it's got to be something different
with grub2 that the make file isn't doing.
I've found instructions on the web for building custom kernels and they
recommend the above procedure which is the same as Centos6, but it does not work for me.
Anyone with any pointers?
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On 03.04.2015 09:38 PM, Robert Dinse wrote:
Under CentOS 7 I've updated to the latest kernel provided in the El Repo
repository,
kernel-ml.x86_64 3.19.3-1.el7.elrepo @elrepo-kernel They have no version configured with pre-emption and this version
without does not provide smooth video over x2go, very jerky and laggy like the stock kernel.
If I build a kernel from source from kernel.org, even using the same
conf, and install it:
make clean; make; make modules_install install
I wouldn't use "make install".
cp arch/x86_64/boot/bzImage /boot/vmlinuz-3.19.3 cp System.map /boot/System.map-3.19.3
(or whatever the "real" version is, maybe even with the "localversion" string appended. You'll figure it out. The actual path may differ based on your architecture and the naming conventions of in /boot/.) / /Afterwards,
grub2-mkconfig -o /boot/grub2/grub.cfg
And you're all set.
Try rebooting and it should work just fine.
Do not try to update grub.
Mihai
Something still isn't right, missing the step to create initramfs,
so I added:
mkinitrd initramfs-3.19.3-kg-1 3.19.3-kg-1
It creates it but when I run:
grub2-mkconfig -o /boot/grub2/grub.cfg
It doesn't see it:
Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.19.3-kg-1 Found linux image: /boot/vmlinuz-3.19.3-1.el7.elrepo.x86_64 Found initrd image: /boot/initramfs-3.19.3-1.el7.elrepo.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-10a4840ccefb6d2f7accde9f4562308f Found initrd image: /boot/initramfs-0-rescue-10a4840ccefb6d2f7accde9f4562308f.im
It finds the vmlinuz but not the initramfs. Is there some conf file I
have to add that to? Sorry not much experience with grub2 by hand, just the old grub, and the make file does the right thing on the Debian based machines.
The kernel I'm trying to add is vmlinuz-3.19.3-kg-1
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Sat, 4 Apr 2015, Mihai Moldovan wrote:
Date: Sat, 04 Apr 2015 00:54:26 +0200 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
On 03.04.2015 09:38 PM, Robert Dinse wrote:
Under CentOS 7 I've updated to the latest kernel provided in the El Repo
repository,
kernel-ml.x86_64 3.19.3-1.el7.elrepo @elrepo-kernel They have no version configured with pre-emption and this version
without does not provide smooth video over x2go, very jerky and laggy like the stock kernel.
If I build a kernel from source from kernel.org, even using the same
conf, and install it:
make clean; make; make modules_install install
I wouldn't use "make install".
cp arch/x86_64/boot/bzImage /boot/vmlinuz-3.19.3 cp System.map /boot/System.map-3.19.3
(or whatever the "real" version is, maybe even with the "localversion" string appended. You'll figure it out. The actual path may differ based on your architecture and the naming conventions of in /boot/.) / /Afterwards,
grub2-mkconfig -o /boot/grub2/grub.cfg
And you're all set.
Try rebooting and it should work just fine.
Do not try to update grub.
Mihai
On 04.04.2015 01:36 AM, Robert Dinse wrote:
Something still isn't right, missing the step to create initramfs,
so I added:
mkinitrd initramfs-3.19.3-kg-1 3.19.3-kg-1
Oh, sorry, yeah, I tend to forget about those...
It creates it but when I run: grub2-mkconfig -o /boot/grub2/grub.cfg It doesn't see it:
It's likely just named in a way grub2 doesn't look for.
Take a look at the content of /boot/ and rename the generated file to initramfs-3.19.3-kg-1.img (+ maybe an appropriate extension for the compression format!)
grub2 expects kernel and initrd files to follow a specific naming convention (or more like, a list of possible values.)
Mihai
Thank you. Duh I don't know how I could stare at that directory and not
notice the missing extension. Ugh.
Thank you for your help. The 3.19.3 kernel I built is not only preemptive
but also stripped of most of the stuff I don't use. I also turn off most of the kernel hacking and profiling stuff since it adds a tiny bit of overhead.
It helped considerably over either the stock kernel or the one off of
el repo (the el repo 3.19.3-ml kernel), however the video isn't 100% fluid.
With the el repo kernel I got around maybe 10 frames per second, with
my custom kernel I get around 30 frames per second most of the time but there are occasional glitches where the video will freeze for maybe a third of a second.
Under Ubuntu, a kernel built the same way, the video is fluid. There
must be something in CentOS eating more resources.
Still the performance with preemptive enabled is significantly better
than without (server side).
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 3 Apr 2015, Robert Dinse wrote:
Date: Fri, 3 Apr 2015 16:36:34 -0700 (PDT) From: Robert Dinse <nanook@eskimo.com> To: Mihai Moldovan <ionic@ionic.de> Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
Something still isn't right, missing the step to create initramfs,
so I added:
mkinitrd initramfs-3.19.3-kg-1 3.19.3-kg-1
It creates it but when I run:
grub2-mkconfig -o /boot/grub2/grub.cfg
It doesn't see it:
Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.19.3-kg-1 Found linux image: /boot/vmlinuz-3.19.3-1.el7.elrepo.x86_64 Found initrd image: /boot/initramfs-3.19.3-1.el7.elrepo.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-10a4840ccefb6d2f7accde9f4562308f Found initrd image: /boot/initramfs-0-rescue-10a4840ccefb6d2f7accde9f4562308f.im
It finds the vmlinuz but not the initramfs. Is there some conf file I
have to add that to? Sorry not much experience with grub2 by hand, just the old grub, and the make file does the right thing on the Debian based machines.
The kernel I'm trying to add is vmlinuz-3.19.3-kg-1
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Sat, 4 Apr 2015, Mihai Moldovan wrote:
Date: Sat, 04 Apr 2015 00:54:26 +0200 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
On 03.04.2015 09:38 PM, Robert Dinse wrote:
Under CentOS 7 I've updated to the latest kernel provided in the El Repo
repository,
kernel-ml.x86_64 3.19.3-1.el7.elrepo @elrepo-kernel They have no version configured with pre-emption and this version
without does not provide smooth video over x2go, very jerky and laggy like the stock kernel.
If I build a kernel from source from kernel.org, even using the same
conf, and install it:
make clean; make; make modules_install install
I wouldn't use "make install".
cp arch/x86_64/boot/bzImage /boot/vmlinuz-3.19.3 cp System.map /boot/System.map-3.19.3
(or whatever the "real" version is, maybe even with the "localversion" string appended. You'll figure it out. The actual path may differ based on your architecture and the naming conventions of in /boot/.) / /Afterwards,
grub2-mkconfig -o /boot/grub2/grub.cfg
And you're all set.
Try rebooting and it should work just fine.
Do not try to update grub.
Mihai
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
Actually I'm getting some lag occasionally to anywhere right now so it may
just be my Comcrap cable internet acting up. I'll check the video later tonight when traffic is lighter.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 3 Apr 2015, Robert Dinse wrote:
Date: Fri, 3 Apr 2015 16:53:53 -0700 (PDT) From: Robert Dinse <nanook@eskimo.com> To: Mihai Moldovan <ionic@ionic.de> Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
Thank you. Duh I don't know how I could stare at that directory and not
notice the missing extension. Ugh.
Thank you for your help. The 3.19.3 kernel I built is not only
preemptive but also stripped of most of the stuff I don't use. I also turn off most of the kernel hacking and profiling stuff since it adds a tiny bit of overhead.
It helped considerably over either the stock kernel or the one off of
el repo (the el repo 3.19.3-ml kernel), however the video isn't 100% fluid.
With the el repo kernel I got around maybe 10 frames per second, with
my custom kernel I get around 30 frames per second most of the time but there are occasional glitches where the video will freeze for maybe a third of a second.
Under Ubuntu, a kernel built the same way, the video is fluid. There
must be something in CentOS eating more resources.
Still the performance with preemptive enabled is significantly better
than without (server side).
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Fri, 3 Apr 2015, Robert Dinse wrote:
Date: Fri, 3 Apr 2015 16:36:34 -0700 (PDT) From: Robert Dinse <nanook@eskimo.com> To: Mihai Moldovan <ionic@ionic.de> Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
Something still isn't right, missing the step to create initramfs,
so I added:
mkinitrd initramfs-3.19.3-kg-1 3.19.3-kg-1
It creates it but when I run:
grub2-mkconfig -o /boot/grub2/grub.cfg
It doesn't see it:
Generating grub configuration file ... Found linux image: /boot/vmlinuz-3.19.3-kg-1 Found linux image: /boot/vmlinuz-3.19.3-1.el7.elrepo.x86_64 Found initrd image: /boot/initramfs-3.19.3-1.el7.elrepo.x86_64.img Found linux image: /boot/vmlinuz-0-rescue-10a4840ccefb6d2f7accde9f4562308f Found initrd image: /boot/initramfs-0-rescue-10a4840ccefb6d2f7accde9f4562308f.im
It finds the vmlinuz but not the initramfs. Is there some conf file I
have to add that to? Sorry not much experience with grub2 by hand, just the old grub, and the make file does the right thing on the Debian based machines.
The kernel I'm trying to add is vmlinuz-3.19.3-kg-1
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Sat, 4 Apr 2015, Mihai Moldovan wrote:
Date: Sat, 04 Apr 2015 00:54:26 +0200 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com>, "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
On 03.04.2015 09:38 PM, Robert Dinse wrote:
Under CentOS 7 I've updated to the latest kernel provided in the El Repo
repository,
kernel-ml.x86_64 3.19.3-1.el7.elrepo @elrepo-kernel They have no version configured with pre-emption and this version
without does not provide smooth video over x2go, very jerky and laggy like the stock kernel.
If I build a kernel from source from kernel.org, even using the same
conf, and install it:
make clean; make; make modules_install install
I wouldn't use "make install".
cp arch/x86_64/boot/bzImage /boot/vmlinuz-3.19.3 cp System.map /boot/System.map-3.19.3
(or whatever the "real" version is, maybe even with the "localversion" string appended. You'll figure it out. The actual path may differ based on your architecture and the naming conventions of in /boot/.) / /Afterwards,
grub2-mkconfig -o /boot/grub2/grub.cfg
And you're all set.
Try rebooting and it should work just fine.
Do not try to update grub.
Mihai
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
x2go-user mailing list x2go-user@lists.x2go.org http://lists.x2go.org/listinfo/x2go-user
On 04.04.2015 01:53 AM, Robert Dinse wrote:
Thank you. Duh I don't know how I could stare at that directory
and not notice the missing extension. Ugh.
You're not alone, this stuff happens to me too... More often than I'd like.
Thank you for your help. The 3.19.3 kernel I built is not only
preemptive but also stripped of most of the stuff I don't use. I also turn off most of the kernel hacking and profiling stuff since it adds a tiny bit of overhead.
It helped considerably over either the stock kernel or the one
off of el repo (the el repo 3.19.3-ml kernel), however the video isn't 100% fluid.
With the el repo kernel I got around maybe 10 frames per second,
with my custom kernel I get around 30 frames per second most of the time but there are occasional glitches where the video will freeze for maybe a third of a second.
Under Ubuntu, a kernel built the same way, the video is fluid.
There must be something in CentOS eating more resources.
I wouldn't be sure about the "eating more resources" part. Unless something spikes in top/htop, maybe. But given you've tried with a rt kernel as provided by Ubuntu, there are multiple other things to consider:
There's a good chance this influences what you're seeing.
If you really want to find out what leads to this differing behavior, you're in for a ride (and quite possibly a rather frustrating one, too.)
Mihai
I built 3.19.3 kernels on Debian from kernel.org, they play the video
fluidly, so it's not Canonical's patches making it work. But it may actually be okay on CentOS. Shortly after I posted the last post I started getting lag to everywhere so bad that there were 2-3 second delays in my keyboard echos. Comcast has occasional problems where I am (my servers are all in a co-location facility with good connectivity but I'm working out of my home with Comcast cable) and occasionally it gets laggy and drops packets. Usually between 8pm-10pm not in the afternoon but I guess today is special. So I will test again after the lag clears up.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- Eskimo North Linux Friendly Internet Access, Shell Accounts, and Hosting. Knowledgeable human assistance, not telephone trees or script readers. See our web site: http://www.eskimo.com/ (206) 812-0051 or (800) 246-6874.
On Sat, 4 Apr 2015, Mihai Moldovan wrote:
Date: Sat, 04 Apr 2015 02:03:07 +0200 From: Mihai Moldovan <ionic@ionic.de> To: Robert Dinse <nanook@eskimo.com> Cc: "x2go-user@lists.x2go.org" <x2go-user@lists.x2go.org> Subject: Re: [X2Go-User] Centos 7
On 04.04.2015 01:53 AM, Robert Dinse wrote:
Thank you. Duh I don't know how I could stare at that directory
and not notice the missing extension. Ugh.
You're not alone, this stuff happens to me too... More often than I'd like.
Thank you for your help. The 3.19.3 kernel I built is not only
preemptive but also stripped of most of the stuff I don't use. I also turn off most of the kernel hacking and profiling stuff since it adds a tiny bit of overhead.
It helped considerably over either the stock kernel or the one
off of el repo (the el repo 3.19.3-ml kernel), however the video isn't 100% fluid.
With the el repo kernel I got around maybe 10 frames per second,
with my custom kernel I get around 30 frames per second most of the time but there are occasional glitches where the video will freeze for maybe a third of a second.
Under Ubuntu, a kernel built the same way, the video is fluid.
There must be something in CentOS eating more resources.
I wouldn't be sure about the "eating more resources" part. Unless something spikes in top/htop, maybe. But given you've tried with a rt kernel as provided by Ubuntu, there are multiple other things to consider:
- the Ubuntu kernel was patched by Canonical (most of the time quite heavily when comparing a vanilla kernel to a stock Ubuntu kernel)
- the Ubuntu kernel may *additionally* include other RT patches that are neither part of their stock, nor the vanilla kernel
- it may use different options from what you have
There's a good chance this influences what you're seeing.
If you really want to find out what leads to this differing behavior, you're in for a ride (and quite possibly a rather frustrating one, too.)
Mihai
On 04.04.2015 02:10 AM, Robert Dinse wrote:
I built 3.19.3 kernels on Debian from kernel.org, they play the
video fluidly, so it's not Canonical's patches making it work. But it may actually be okay on CentOS. Shortly after I posted the last post I started getting lag to everywhere so bad that there were 2-3 second delays in my keyboard echos.
Heh, yeah, I've seen your follow-up only after sending my own reply, sorry.
Usually between 8pm-10pm not in the afternoon but I guess today is special.
Make those puny humans/neighbors bleed for clogging up the tubes!
Mihai
Usually between 8pm-10pm not in the afternoon but I guess today is special.
Make those puny humans/neighbors bleed for clogging up the tubes!
Mihai
Yea, I'm going to send some phone spiders their way.
Anyway, shortly after I wrote this my cable modem crashed and burned,
had to reset it.
Now video is smooth except when I very first load a page and the browser
is still loading a bunch of stuff.
Just for shits and grins, I'm compiling a 4.0-rc6 kernel just to see what
they've broken / changed / improved.