Interest in Optimized Builds (see also: Pale Moon AVX builds)

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

Are optimized builds desired?

Poll ended at 2024-04-02, 16:53

Yes
11
52%
No
0
No votes
I have never noticed a difference between optimized and non-optimized builds
2
10%
I don't care
2
10%
I don't even use Basilisk so my opinion is irrelevant
5
24%
I don't even know what optimization is (just for you TTraveler)
1
5%
 
Total votes: 21

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 323
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Basilisk-Dev » 2024-03-03, 16:53

Is there interest in Basilisk AVX/AVX2/some other sort of optimization builds for x86_64?

For Linux I would be compiling with -march=x86_64-v3 with GCC 11 on Oracle Linux 8. See Wikipedia and Phoronix for more info on x86_64 optimization levels in GCC and Clang.

x86_64-v3 was selected because I feel it provides a good balance of CPU features (AVX/AV2/etc) and compatibility. It should work with most systems released since around 2015 or so.

For Windows I'd just be doing AVX2 builds using the same arguments as the Pale Moon AVX builds as discussed here.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 959
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by billmcct » 2024-03-03, 17:53

Basilisk-Dev wrote:
2024-03-03, 16:53
It should work with most systems released since around 2015 or so.
For Windows I'd just be doing AVX2 builds using the same arguments as the Pale Moon AVX builds as discussed here.
AVX will work for 2nd gen systems Feb 2011 up.
AVX2 will work for 4th gen systems May 2014 up.

Any chip supporting AVX2 is backward compatible which means also including AVX.

viewtopic.php?t=30909&p=249157#p249157
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 323
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Basilisk-Dev » 2024-03-03, 18:33

billmcct wrote:
2024-03-03, 17:53
AVX will work for 2nd gen systems Feb 2011 up.
AVX2 will work for 4th gen systems May 2014 up.

Any chip supporting AVX2 is backward compatible which means also including AVX.
You are correct when solely referring to AVX and AVX2, but x86_64-v3 includes more optimizations than just AVX/AVX2.

In addition, I say 2015 and up to account for people using AMD CPUs as well as Intel. AMD didn't get AVX2 until 2015 with the Excavator architecture.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 959
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by billmcct » 2024-03-03, 19:11

Yeah I was only looking at Intel architecture.
Since I don't have any AMD computers I really didn't research it.
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

User avatar
TTraveler
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-06-27, 03:18

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by TTraveler » 2024-03-03, 22:38

In the poll maybe there should be a choice for:

"Why should I have any Interest in Optimized Builds?...I don't have the foggiest idea WTF an Optimized Build is, much less HTF I would possibly benefit from one!" Image

User avatar
athenian200
Contributing developer
Contributing developer
Posts: 1537
Joined: 2018-10-28, 19:56
Location: Georgia

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by athenian200 » 2024-03-04, 00:40

TTraveler wrote:
2024-03-03, 22:38
In the poll maybe there should be a choice for:

"Why should I have any Interest in Optimized Builds?...I don't have the foggiest idea WTF an Optimized Build is, much less HTF I would possibly benefit from one!" Image
Well, they're supposed to be faster than unoptimized builds, but the downside is that they don't work on older hardware.

Think of it like this... a race car's engine is optimized for racing, but it is less fuel-efficient and noisier than the engines used in ordinary street cars. So under the right conditions, it can go fast... but if you don't have those conditions and you're sensitive to noise or fuel-efficiency, you might not want an engine optimized for racing.

It's similar with software... optimized software goes fast on beefier systems, but won't work at all on older systems that don't have the kind of fuel it needs to go fast. Like trying to run a race car on regular fuel like you'd use for a regular streetcar, it would just be bad for the engine and not work out well.
"The Athenians, however, represent the unity of these opposites; in them, mind or spirit has emerged from the Theban subjectivity without losing itself in the Spartan objectivity of ethical life. With the Athenians, the rights of the State and of the individual found as perfect a union as was possible at all at the level of the Greek spirit." -- Hegel's philosophy of Mind

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35652
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Moonchild » 2024-03-04, 00:48

TTraveler wrote:
2024-03-03, 22:38
In the poll maybe there should be a choice for:

"Why should I have any Interest in Optimized Builds?...I don't have the foggiest idea WTF an Optimized Build is, much less HTF I would possibly benefit from one!" Image
So how is this not covered by "I don't care"? Seriously. :roll:
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
billmcct
Keeps coming back
Keeps coming back
Posts: 959
Joined: 2012-09-04, 15:19
Location: Costa Rica & Union City Georgia USA

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by billmcct » 2024-03-04, 00:58

I really wish MC could add an LIKE button to these forum posts.

I really liked your analogy using a race car and it was really to the point.
I am a BIG NASCAR fan.
--------------------------------------------------------------------------------------------------------------
The difference between the Impossible and the Possible lies in a man's Determination.
Tommy Lasorda

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 323
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Basilisk-Dev » 2024-03-04, 01:10

TTraveler wrote:
2024-03-03, 22:38
In the poll maybe there should be a choice for:

"Why should I have any Interest in Optimized Builds?...I don't have the foggiest idea WTF an Optimized Build is, much less HTF I would possibly benefit from one!" Image
I added a special option just for you :D

Sadly it reset the vote count, the previous count was
Yes: 4
I don't care: 3
I don't use Basilisk: 5 (thanks guys, I really appreciate that)
Basilisk Project Owner

viewtopic.php?f=61&p=230756

RedRamGT
Moon lover
Moon lover
Posts: 78
Joined: 2014-05-06, 02:43
Location: Almont, Michigan, USA

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by RedRamGT » 2024-03-04, 02:23

It might be good to keep the 32-Bit version the way it is now, and change the 64-Bit version to add AVX support.

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 323
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Basilisk-Dev » 2024-03-04, 02:59

RedRamGT wrote:
2024-03-04, 02:23
It might be good to keep the 32-Bit version the way it is now, and change the 64-Bit version to add AVX support.
For Linux, there is only 64-bit currently. If I were to release 32-bit Linux builds this is what I would do.

For Windows, 32-bit builds would be left as-is. This would only affect 64-bit builds on both Windows and Linux.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
Shadow
Apollo supporter
Apollo supporter
Posts: 42
Joined: 2023-03-16, 13:21

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Shadow » 2024-03-04, 10:36

Basilisk-Dev wrote:
2024-03-04, 02:59
This would only affect 64-bit builds on both Windows and Linux.
Are you implying 64-bit Win would be AVX2 only and no as-is anymore? That'd unfortunately be me out.

User avatar
Basilisk-Dev
Lunatic
Lunatic
Posts: 323
Joined: 2022-03-23, 16:41
Location: Chamber of Secrets

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by Basilisk-Dev » 2024-03-04, 13:38

Shadow wrote:
2024-03-04, 10:36
Are you implying 64-bit Win would be AVX2 only and no as-is anymore? That'd unfortunately be me out.
All existing builds, including unoptimized 64-bit builds, would still be available. This topic is solely adding new builds.
Basilisk Project Owner

viewtopic.php?f=61&p=230756

User avatar
TTraveler
Hobby Astronomer
Hobby Astronomer
Posts: 18
Joined: 2017-06-27, 03:18

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by TTraveler » 2024-03-06, 22:32

athenian200 wrote:
2024-03-04, 00:40
TTraveler wrote:
2024-03-03, 22:38
In the poll maybe there should be a choice for:

"Why should I have any Interest in Optimized Builds?...I don't have the foggiest idea WTF an Optimized Build is, much less HTF I would possibly benefit from one!" Image
Well, they're supposed to be faster than unoptimized builds, but the downside is that they don't work on older hardware.

Think of it like this... a race car's engine is optimized for racing, but it is less fuel-efficient and noisier than the engines used in ordinary street cars. So under the right conditions, it can go fast... but if you don't have those conditions and you're sensitive to noise or fuel-efficiency, you might not want an engine optimized for racing.

It's similar with software... optimized software goes fast on beefier systems, but won't work at all on older systems that don't have the kind of fuel it needs to go fast. Like trying to run a race car on regular fuel like you'd use for a regular streetcar, it would just be bad for the engine and not work out well.
Thank you @athenian200 and @Basilisk-Dev

Image I believe I understand now.....My System is Windows 10 Home (latest Build/updates) .... Intel Core i7 ... Nvidia Geforce GTX 980m

If the future "Optimized Builds" will be compatible with my System Configuration ... I'm presently satisfied with Basilisk 2024.02.03 ...I would be willing to give an "Optimized Build" a fair go.

If down the road the "Optimized Build" becomes incompatible with my system (I certainly would hope there will be a fall-back option available) ---> utilizing everything the latest version has to offer (security being paramount) minus the incompatible optimization.

By that time, if economically feasible, I would hope to secure a replacement to my trusty system with more state-of-the-art configurations.Thanks again .... Image

User avatar
printedz
New to the forum
New to the forum
Posts: 1
Joined: 2024-03-18, 11:59

Re: Interest in Optimized Builds (see also: Pale Moon AVX builds)

Unread post by printedz » 2024-03-18, 12:01

I know I'm late to the poll, but I'd be very interested in an optimized build for Windows!