Re: [nsis v3 2/2] build: Don't add .pdb debug files to the installer

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

 



On Sun, Dec 31, 2017 at 8:55 AM, Yedidyah Bar David <didi@xxxxxxxxxx> wrote:
On Fri, Dec 29, 2017 at 3:36 AM, Vadim Rozenfeld <vrozenfe@xxxxxxxxxx> wrote:
>
>
> On 29/12/17 03:31, Yan Vugenfirer wrote:
>
>
>
> On 28 Dec 2017, at 16:44, Amnon Ilan <ailan@xxxxxxxxxx> wrote:
>
>
>
> ----- Original Message -----
>
> From: "Lev Veyde" <lveyde@xxxxxxxxxx>
> To: "Yedidyah Bar David" <didi@xxxxxxxxxx>
> Cc: "Frediano Ziglio" <fziglio@xxxxxxxxxx>, "Christophe Fergeau"
> <cfergeau@xxxxxxxxxx>,
> spice-devel@lists.freedesktop.org, "Amnon Ilan" <ailan@xxxxxxxxxx>
> Sent: Thursday, December 28, 2017 1:13:24 PM
> Subject: Re: [nsis v3 2/2] build: Don't add .pdb debug files
> to the installer
>
> Hi Didi (and the guys),
>
> We don't ship debug information in our d/s WGT, and personally I'm not sure
> how useful it really may be, e.g. if the customers will get BSOD if that
> will show any more useful information.
>
> Luckily our VirtIO-Win drivers are quite stable, so we don't have many such
> issues anyhow.
> But I think it's best to see what VirtIO-Win guys think about it.
> Amnon, what is your view on this?
>
>
> I do not think we need to install pdb files, but should have it accessible
> somewhere.
>
> Vadim, Yan, can you comment on that?
>
>
> Hello,
>
> I think they should be kept together with build artefacts. When we get bug
> reports from the field we use pdb files distributed with specific build ISO.
> But if you repackage the virtio-win package into  RHV-guest-tools installer,
> then I don’t see specific need to keep PDB files as long as we can clearly
> connect between  RHV-guest-tools version and virtio-win version.
>
> If we want to let end users running live or postmortem debug session on
> their own, then shipping .pdb files is a must.

Is it a must to have them preinstalled?

I realize it is, if you have a one-time non-reproducible failure.
But if it happens more than once, you can install a -debug or -pdb
package we'll provide with the pdb files, so that next time you can
debug.

Having in the same package means it's more comfortable to debug in
general and also possible to debug hard-to-reproduce failures.

Having them in a separate package means that users that do not need
to debug, do not have to spend time/space/bandwidth to install them.

So it's a tradeoff, not a pure yes/no question.

BTW, to get some numbers, I pushed it to our gerrit to have it built
by CI. With this patch [1]:

RPM size is 34MB, ISO is 66MB.

Previous run of CI [2]:

RPM is 103MB, ISO is 365MB.

So it's a rather significant saving, but personally I am not sure
the risk (not having it when needed) is worth it.

[1] http://jenkins.ovirt.org/job/ovirt-wgt_master_check-patch-el7-x86_64/34/artifact/exported-artifacts/
[2] http://jenkins.ovirt.org/job/ovirt-wgt_master_check-patch-el7-x86_64/33/artifact/exported-artifacts/
 

>
> Vadim.
>
>
> Best regards,
> Yan.
>
>
> Thanks,
> Amnon
>
>
> My personal opinion is that for u/s users we may provide these files as a
> separate package or simply forward them to the u/s VirtIO-Win ISO.
> However I don't mind to keep things as is and having them as part of the
> base installer for simplicity of distribution.
> After all the new versions are not frequent and have to be downloaded only
> once per oVirt instance, so the increased download size should not be an
> issue.
>
> If anything, I'm more concerned with the waste of the disk space of the VM,
> and even that should not be a critical issue in most cases.
> So it would be nice to have an option to install the debug information
> during the install, so the user could choose by himself.
>
> Thanks in advance,
>
> On Thu, Dec 21, 2017 at 9:53 AM, Yedidyah Bar David <didi@xxxxxxxxxx> wrote:
>
> On Wed, Dec 20, 2017 at 4:10 PM, Frediano Ziglio <fziglio@xxxxxxxxxx>
> wrote:
>
>
> On Tue, Dec 19, 2017 at 11:26:00AM -0500, Frediano Ziglio wrote:
>
>
> The .pdb files contain the debug information for the drivers. They
> increase significantly the size of the installer, so it's better
>
> not to
>
> ship them.
>
>
> On the other side bug report will contain much less informations.
> Not really sure about it.
>
>
> Which bug reports? :) (I don't think I ever got any report about driver
> crashes). I would reconsider when we start getting bug reports where we
> need these symbols.
>
> Christophe
>
>
> No idea, was just thinking that if somebody packaged these files maybe
>
> they want
>
> them installed. They are not directly in the virtio-win package but in
>
> the ISO.
>
> Maybe we should remove from the ISO too ?
> I had a look at the inf files and they not reference the pdb files.
>
>
> Adding Lev.
>
> Lev - do we ship pdb files in RHV-guest-tools?
> Did we ever get bug reports about drivers that included relevant
> information
> which is not available without the pdb files?
>
> Thanks,
> --
> Didi
>
>
>
>
> --
>
> Lev Veyde
>
> Software Engineer, RHCE | RHCVA | MCITP
>
> Red Hat Israel
>
> <https://www.redhat.com>
>
> lev@xxxxxxxxxx | lveyde@xxxxxxxxxx
> <https://red.ht/sig>
> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
>
>
>



--
Didi



--
Didi
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]