HISE Logo Forum
    • Categories
    • Register
    • Login

    Plugin performance (ram usage)

    Scheduled Pinned Locked Moved General Questions
    19 Posts 3 Posters 714 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • UD AUDIOU
      UD AUDIO
      last edited by UD AUDIO

      Made a little performance test to see if I could make lightweight plugins.
      They should work even on a pentium 4 without causing freezes, glitches etc.

      test with nothing else as an empty interface (600, 500):

      • empty hise fx plugin 28MB
      • HY-TP2 8MB
      • soundspot FAT 10MB
      • sonible finalizer 25MB

      some of my vst:

      • tremolo 64MB
      • simple convolver 99MB

      RAM usage

      (GUIs made with png and filmstrip knobs)

      HISE is focusing to build sampler instruments, so this might be a reason.
      But correct me! I've got no clue why it's 28MB and how to make it
      super performant like that HY-TP2 tremolo with 8MB or most native DAW plugins.

      NatanN 1 Reply Last reply Reply Quote 0
      • NatanN
        Natan @UD AUDIO
        last edited by Natan

        @UD-AUDIO
        Hise Includes All Its Modules, No Matter You Use Or Not.
        Ipp Also Adds An Extra 11 Mb Weight To The Dll Aswell :/

        And There Is No Way To Remove Unused Codes To Free Up Some Space For Better Usage, Such As Using More Convolution Files.
        Or More Png's.

        That 29 Mb Is A Lot IMO.

        UD AUDIOU d.healeyD 2 Replies Last reply Reply Quote 0
        • UD AUDIOU
          UD AUDIO @Natan
          last edited by UD AUDIO

          @Natan I agree with you! So many things like svg or paint routines which are efficient..
          But this would be a cherry on the cake.
          In music production I'm very experimental and mostly not minimalistic.
          Sometimes I need to route to a second mixer channel
          just for using more fx plugins :D Reasons why I like lightweight vst..

          1 Reply Last reply Reply Quote 1
          • d.healeyD
            d.healey @Natan
            last edited by

            @Natan said in Plugin performance (ram usage):

            Hise Includes All Its Modules, No Matter You Use Or Not.

            I don't think this is true.

            @UD-AUDIO

            empty hise fx plugin

            So this is a completely empty project with no modules?

            Libre Wave - Freedom respecting instruments and effects
            My Patreon - HISE tutorials
            YouTube Channel - Public HISE tutorials

            NatanN 1 Reply Last reply Reply Quote 0
            • NatanN
              Natan @d.healey
              last edited by

              @d-healey

              @Christoph-Hart said in Size Per Module?!!!:

              Yeah, that's not how it works. It doesn't matter whether you add the parametriq EQ or not, the C++ code will always be compiled for every module in the HISE codebase. Just think at the possibility of dynamically adding effects - if it wouldn't have compiled every module already, this wouldn't be possible.

              However the actual code size for each module is neglible (I would thing something around 2-3kB). What really eats up binary size are embedded resources (most of all the images), so if you care about a small plugin size, that's the spot where you can save the most.

              d.healeyD 1 Reply Last reply Reply Quote 0
              • d.healeyD
                d.healey @Natan
                last edited by

                @Natan Oh interesting! But still 2-3kb so not the problem here.

                @UD-AUDIO Are you doing release builds or debug builds?

                Libre Wave - Freedom respecting instruments and effects
                My Patreon - HISE tutorials
                YouTube Channel - Public HISE tutorials

                NatanN 1 Reply Last reply Reply Quote 0
                • UD AUDIOU
                  UD AUDIO
                  last edited by

                  No files inside the project subfolders etc.
                  No module or code !
                  But Content.makeFrontInterface(800, 600);

                  nothing else..

                  Made the empty plugin test with a release build.

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @UD AUDIO
                    last edited by

                    @UD-AUDIO

                    Made the empty plugin test with a release build.

                    But is the plugin a release build or debug build? If you just exported directly from HISE and didn't go into VS or XCode then it's a release build ;)

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    UD AUDIOU 1 Reply Last reply Reply Quote 0
                    • NatanN
                      Natan @d.healey
                      last edited by

                      @d-healey said in Plugin performance (ram usage):

                      2-3k?

                      Wait, Your Empty Exported Plugin's Size Is 2-3 Kb?
                      No Way!!!

                      Mine At Least Is 28 MB, Like UD Said.

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @Natan
                        last edited by d.healey

                        @Natan No, but in that quote you posted Christoph says each of the modules when compiled comes to about 2-3kb.

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        1 Reply Last reply Reply Quote 0
                        • UD AUDIOU
                          UD AUDIO @d.healey
                          last edited by

                          @d-healey Yes, exported from HISE as FX plugin. No VS!

                          d.healeyD 1 Reply Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @UD AUDIO
                            last edited by d.healey

                            @UD-AUDIO Try disabling IPP for plugins that don't need it.

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            UD AUDIOU 1 Reply Last reply Reply Quote 0
                            • UD AUDIOU
                              UD AUDIO @d.healey
                              last edited by

                              @d-healey Yes I should! Do I need IPP for using the plotter as visualizer?

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @UD AUDIO
                                last edited by

                                @UD-AUDIO Not sure...

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                UD AUDIOU 1 Reply Last reply Reply Quote 0
                                • UD AUDIOU
                                  UD AUDIO @d.healey
                                  last edited by UD AUDIO

                                  @d-healey
                                  Plotter does work without IPP!
                                  RAM usage is the same.
                                  But the plugin file size decreased from 26 to 19MB.
                                  And with IPP activated, HISE is crashing after compiling successfully.

                                  And no matter if IPP on or off, I get this weird bug:
                                  8e7cc441-819e-412d-87fa-c5df0220a43d-grafik.png
                                  Those peaks disappear as soon I make the plugin window detached in my DAW.
                                  But tweaking knobs does nothing to this bug.

                                  NatanN 1 Reply Last reply Reply Quote 0
                                  • NatanN
                                    Natan @UD AUDIO
                                    last edited by

                                    @UD-AUDIO Plotter Has Nothing To Do With IPP :) Turn It Off With Confidence :)

                                    UD AUDIOU 2 Replies Last reply Reply Quote 0
                                    • UD AUDIOU
                                      UD AUDIO @Natan
                                      last edited by

                                      @Natan Aye! :)

                                      1 Reply Last reply Reply Quote 1
                                      • UD AUDIOU
                                        UD AUDIO @Natan
                                        last edited by UD AUDIO

                                        @Natan The bug is persistent! Looks like this now:
                                        67d9c518-71e0-4d18-bcea-e1a87277ed48-grafik.png (Inside DAW)

                                        There is a hidden options panel on top of that visualization.
                                        That shouldn't be a problem, but idk.

                                        I think this bug is almost the same as this one:
                                        2b20df89-14fc-46eb-b91e-fa9b1e570c3b-grafik.png (Plotter in HISE)
                                        Just make a new project, add a simple gain + LFO on gain modulation.
                                        and also connect the plotter to gain modulation.

                                        Can't say if this was a thing in earlier HISE versions.

                                        NatanN 1 Reply Last reply Reply Quote 0
                                        • NatanN
                                          Natan @UD AUDIO
                                          last edited by

                                          @UD-AUDIO It Was There Since I Used Plotter.
                                          It's A Grapgical Issue And Sometimes Goes Crazy, And Sometimes Fixes By It's Own.

                                          1 Reply Last reply Reply Quote 1
                                          • First post
                                            Last post

                                          28

                                          Online

                                          1.7k

                                          Users

                                          11.8k

                                          Topics

                                          102.7k

                                          Posts