Better HN
topnewbestaskshowjobs
Log inSign up

binarycrusader

3,608 karma · joined Jun 9, 2011 (15y ago) · 1,202 submissions

Windows Developer @Microsoft. Hobbyist Game Developer. My words are my own and not those of any affiliate or employer. Formerly: Solaris Principal Software Engineer at Sun Microsystems/Oracle.
Submissions

comment 9y ago · link · parent

It's actually possible to workaround this by using the -trimpath option to the assembler via '-asmflags -trimpath'.

I do this when I build Go for Solaris:

https://github.com/oracle/solaris-userland/blob/master/compo...

https://github.com/golang/go/issues/13616

See also:

https://github.com/golang/go/issues/16860

comment 9y ago · link · parent

I think this is an overly optimistic view. While the new nVidia drivers might support newer cards, they don't update the severely outdated OpenGL 4.1 stack, fix any of the bugs in the OpenGL stack, or provide Vulkan support.

In short, it's difficult for me to be excited about this given you'll effectively be using your 2017 nVidia card with 2010 limitations.

Perhaps the story is different for CUDA support, and maybe Metal somewhat makes up for the lack of modern OpenGL support, but this feels more like a pyrrhic victory.

comment 9y ago · link · parent

Newegg has a 4GB RX 480 for $179.99 right now:

https://www.newegg.com/Product/Product.aspx?Item=N82E1681412...

comment 9y ago · link · parent

Respectfully, I disagree. I've been using GNOME since at least 1.2 or 1.4. I've also used Unity in recent years simply because that was the easiest thing to use when using Ubuntu on one of the systems I have it on. However, it took very little effort for me to start using GNOME 3 in its latest incarnation as it is fairly similar to the Unity interface Ubuntu ships in many respects.

comment 9y ago · link · parent

"Not only is UNIX dead, it's starting to smell really bad."

That's not an opinion necessarily shared by others who worked on UNIX and still do in some cases.

Certainly, there are commercial UNIX releases today that have relatively recent innovations and capabilities that still aren't available in other operating systems.

comment 9y ago · link · parent

I think it's possible, for example, this seems to be in a related area:

https://consumercal.org/about-cfc/cfc-education-foundation/c...

comment 9y ago · link · parent

Yes, FreeBSD adopted the same command Solaris has for boot environment management -- see the beadm man page.

comment 9y ago · link · parent

Except they already do, every day in multiple applications such as:

Spotify

Microsoft Office

NetFlix

Chrome

FireFox

...the list goes on. There is no such thing as a standard UI or behaviour at this point.

Any one that owns a mobile device already has to be used to a mixture of UIs every time they switch between devices or specific applications.

comment 9y ago · link · parent

FWIW, Solaris has been providing similar upgrade safety via ZFS since 2008.

comment 9y ago · link · parent

The T7 and S7 are even faster than the T4, and unfortunately I haven't seen newer results published for them.

comment 9y ago · link · parent

The default is to map the shared page to a randomized, available address within the process space.

libc gets the address of the page by looking it up in an auxiliary vector table that belongs to the process.

comment 9y ago · link · parent

So it isn't reading the time from this memory page, it's using TSC. In the case of CLOCK_REALTIME, corrections that are applied to TSC are read from this memory page (comm_page).

This summary only applies to Illumos. The Solaris implementation diverged significantly around build 167 (2011) long after the last OpenSolaris build Illumos was based on (build 147). It changed again significantly in 2015.

I believe Circonus contributed an alternate implementation that does some of the same things as Solaris in 2016:

https://www.circonus.com/2016/09/time-but-faster/

With that said, you are correct that whether or not it will read from a memory page instead depends on which interfaces you are using (e.g. get_hrusec()) and other subtle details.

comment 9y ago · link · parent

I'm aware of the high level about VDSO implementation, but I would still say that the Solaris implementation is more narrowly focused and as a result does not have the subtle issues / tradeoffs that VDSO does.

Also, I personally find VDSO disagreeable as do others although perhaps not in as dramatic terms as some:

https://mobile.twitter.com/bcantrill/status/5548101655902617...

I think Ian Lance Taylor's summary is the most balanced and thoughtful:

Basically you want the kernel to provide a mapping for a small number of magic symbols to addresses that can be called at runtime. In other words, you want to map a small number of indexes to addresses. I can think of many different ways to handle that in the kernel. I don't think the first mechanism I would reach for would be for the kernel to create an in-memory shared library. It's kind of a baroque mechanism for implementing a simple table.

It's true that dynamically linked programs can use the ELF loader. But the ELF loader needed special changes to support VDSOs. And so did gdb. And this approach doesn't help statically linked programs much. And glibc functions needed to be changed anyhow to be aware of the VDSO symbols. So as far as I can tell, all of this complexity really didn't get anything for free. It just wound up being complex.

All just my opinion, of course.

https://github.com/golang/go/issues/8197#issuecomment-660959...

comment 9y ago · link · parent

The Solaris method doesn't have the problem the other implementation did.

comment 9y ago · link · parent

Not quite; vdso is a general syscall-wrapper mechanism. The Solaris solution is specifically just for the gettimeofday(), gethrtime() interfaces, etc.

The difference is that on Solaris, since there is no public system call interface, there's also no need for a fallback. Every program is just faster, no matter how Solaris is virtualized, since every program is using libc.

There's also no need for an administrative interface to control clocksource; the best one is always used.

comment 9y ago · link · parent

It's not, not only did AMD move from CMT (clustered multi-thread) design used in the previous Bulldozer microarchitecture, they now have an SMT (simultaneous multithreading) architecture allowing for 2 threads per core.

By comparison, the performance of sparc substantially improved moving from the T1, T2 to T3+. The T1 used a round-robin policy to issue instructions from the next active thread each cycle, supporting up to 8 fine-grained threads in total. That made it more like a barrel processor.

Starting with the T3, two of the threads could be executed simultaneously. Then, starting with the T4, sparc added dynamic threading and out-of-order execution. Later versions are even faster and clock speeds have also risen considerably.

comment 9y ago · link · parent

I prefer the way Solaris solved this problem:

1) first, by eliminating the need for a context switch for libc calls such as gettimeofday(), gethrtime(), etc. (there is no public/supported interface on Solaris for syscalls, so libc would be used)

2) by providing additional, specific interfaces with certain guarantees:

https://docs.oracle.com/cd/E53394_01/html/E54766/get-sec-fro...

This was accomplished by creating a shared page in which the time is updated in the kernel in a page that is created during system startup. At process exec time that page is mapped into every process address space.

Solaris' libc was of course updated to simply read directly from this memory page. Of course, this is more practical on Solaris because libc and the kernel are tightly integrated, and because system calls are not public interfaces, but this seems greatly preferable to the VDSO mechanism.

comment 9y ago · link · parent

Having gone through this myself, the best way is to always go directly to a local post office and talk to the specialist there, or call the local post office directly and ask to speak to the right department.

If you're kind, and exceedingly polite to them, and are as understanding as possible, they'll be incredibly helpful in return.

The people that deal with lost packages and lost mail are used to being yelled at, berated, and treated poorly, so they often react surprised and helpfully when you go out of your way to be as nice as possible.

Most importantly, the best advice I can provide is to have all of the information you can possibly provide written down first (preferably typed so they can read it easier), along with a detailed timeline, and copies of any supporting documentation.

comment 9y ago · link · parent

I never said anyone was wrong; only pointing out the origins.

I think one might be able to successfully argue that NIX-like systems and the programs executed on them are distinctively* biased towards pipes.

Regardless, as you said, the point is moot.

comment 9y ago · link · parent

But pipes were original and first to *nix based systems, first appearing in Version 3 of UNIX:

https://en.wikipedia.org/wiki/Pipeline_(Unix)#History

comment 9y ago · link · parent

To me, the biggest advantage is cross compiling

Not all system linkers have this problem. For example, Solaris ld(1) is perfectly capable of cross-linking any valid ELF file.

comment 9y ago · link · parent

No, they did not. How do I know? Because I'm still working on Solaris almost nine years later along with many others. Same manager, same projects.

Staffing levels in some areas was changed as was publicly announced.

See also http://www.esteem.co.uk/news-events/oracle-solaris-whats-goi...

Disclaimer: these are my opinions and not those of my employer.

comment 9y ago · link · parent

They're not dropping Solaris. They're instead changing the release model:

https://blogs.oracle.com/solaris/entry/oracle_solaris_moving...

Personally, I'd say this is similar to Microsoft's decisions around Windows 10.

comment 9y ago · link · parent

I'm not sure how you can make those claims; if anything, they've been even more active in reviewing hardware, etc. since they actually have better corporate sponsorship.

The only thing I do miss are the articles written by Jon Stokes: https://arstechnica.com/author/hannibal/

But all things change, and the heady era of technological advances that we saw in the 90s and early 2000s are long gone, at least in the desktop and server computer world.

Electronics has now become mainstream-consumer oriented and the sites reflect that interest, since after all, they only exist due to advertising funds.

comment 9y ago · link · parent

Graydon stepped down as lead in 2013 from rust, so I don't see how that would have any bearing, and as brson said, Graydon has been on Swift for a while now.

comment 9y ago · link · parent

I'm proclaiming that the dumbest thing a human rights supporting people can do, is not protest their own President out of partisan loyalty / blindness.

Well, since we only have one president currently, I don't know what point you're trying to make.

Also, some of us did protest the unreasonable expansion of power by previous administrations.

I don't see what anything you're saying has to do with my original comments.

1
111213
41