Re: On resending a message

2019-01-17 Thread Georges Gomes
Check JCTools, Nitsan has been extending them with blocking implementation
during the New Year's holiday. May still be in review.

I hope this helps
Georges


On Thu, Jan 17, 2019, 10:58 'Alexandru Nedelcu' via mechanical-sympathy <
mechanical-sympathy@googlegroups.com wrote:

> Hi,
>
> On Nov 20 I've sent a message titled:
> "*Queue that puts consumers to sleep?*"
>
> I never got any replies and now that I look into Google Groups's online
> interface, I'm not seeing it anymore.
>
> Given that I've been switching my Google accounts and thus my
> subscriptions, the message might have been blocked or the account never
> approved. This message I'm writing now might have the same problem.
>
> Should I resend that message?
> --
> Alexandru Nedelcu
> alexn.org
>
> --
> You received this message because you are subscribed to the Google Groups
> "mechanical-sympathy" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to mechanical-sympathy+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


On resending a message

2019-01-17 Thread 'Alexandru Nedelcu' via mechanical-sympathy

Hi,

On Nov 20 I've sent a message titled:
"_Queue that puts consumers to sleep?_"

I never got any replies and now that I look into Google Groups's online 
interface, I'm not seeing it anymore.


Given that I've been switching my Google accounts and thus my 
subscriptions, the message might have been blocked or the account never 
approved. This message I'm writing now might have the same problem.


Should I resend that message?

--
Alexandru Nedelcu
alexn.org

--
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Avoid stepping on page faults while writing to MappedByteBuffer

2019-01-17 Thread Gil Tene
mincore is no more useful than pretouch. Unless you lock, a page that was 
resident at the time of the mincore/pretouch operation can be evicted a few 
microseconds later. A “this seems to be resident right now” quality does not 
prevent page faults or long TTSPs and STW pauses on mapped buffer access, it 
just improves the stats a bit.

Sent from my iPad

On Jan 16, 2019, at 9:41 PM, Steven Stewart-Gallus 
mailto:stevenselectronicm...@gmail.com>> wrote:

I think what you want is something like the mincore system call on Linux so 
your thread can write directly if the page is mapped but offload the work to 
another thread if it is not mapped. I don't have any experience with the system 
call though.

--
You received this message because you are subscribed to a topic in the Google 
Groups "mechanical-sympathy" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/mechanical-sympathy/yL4Yaedgqg4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to 
mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mechanical-sympathy+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.